https://github.com/gbrowns/dam-advance-22
https://github.com/gbrowns/dam-advance-22
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gbrowns/dam-advance-22
- Owner: gbrowns
- Created: 2022-06-23T20:57:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-28T00:04:27.000Z (over 3 years ago)
- Last Synced: 2025-02-04T12:52:06.498Z (10 months ago)
- Language: JavaScript
- Size: 142 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Heads or Tails Game
For those of you who feel the challenge above is a basic assignment and you completed it within a split second here is some juice.
Create a heads or tails game that will be played by a real person and a computer.
The game should go for 5 rounds and the winner will be determined by who guessed the most rights on the 5 rounds.
example:
round 1:
computer guessed tails and you guessed heads
outcome: heads
you get a 1 and computer gets a 0 (zero)
round 2:
computer guessed tails and you guessed heads
outcome: heads
you get a 2 and computer gets a 0 (zero)
round 3:
computer guessed heads and you guessed heads
outcome: heads
you get a 3 and computer gets a 1
round 4:
computer guessed tails and you guessed heads
outcome: tails
you get a 3 and computer gets a 2
round 5:
computer guessed tails and you guessed heads
outcome: heads
you get a 4 and computer gets a 2
You become a winner in this set because you guessed the most correct predictions
ALSO NOTE: for the advanced assignment you will need to start off from scratch i.e; HTML, CSS and JS. Push it to its' own github repository. Don't mix the 2 assignments.
All assignments should be hosted on github pages and links submitted to google classroom
This is the coin side that will be used. They can be found in the assets/images folder
Heads
Heads