#Chin2Win
###Objective
Chin2Win is a fun game to play for anyone who would like to test their celebrity chin knowledge amongst friends. Or perhaps one would like to just prove it to oneself.
How to play:
For each turn, an image of a public figure's chin will be displayed. Player types out their best guess of the name of the celebrity whose chin is pictured.
How to win:
Guess 20 chins correctly!
Tips:
- Spelling counts
- Casing does not matter
- Utilize hints (1 per chin)
- Most answers are full names
###Technology Used HTML, CSS, JavaScript
###Play Game
https://fcancio.github.io/chin2win/
###User stories
As a user, I want a fun, simple, and unique game that I can play by myself or with friends on the go, or at a social event.
As a user, I want to be able to see a clear/high quality image of a chin so for guessing correctly.
As a user, I need an input box to type out my guess
As a user, I need a way to submit my guess.
As a user, I need an alert or message to know whether or not my answer is correct.
As a user, I would like a way to see my score, so I know how close I am to winning.
###Features list:
- chin and face images
- user input
- score
- milestone alerts
###Pseudocode:
- Chin image and player score should initialize upon loading the page.
- create a chins array that holds chin objects that have properties chinImg, fullImg, answer.
- upon render, an image pulled from the chins array will display on the page
- create a player score that increments when player gets a correct answer
- User should be able to type guess into input box and press submit.
- User's input should be compared to the image variable/assignment.
- If user input equals image variable:
- user is alerted that they have guessed correctly
- run render()
- adds point to score
- displays new chin image
- If user input does not equal image variable
- user is alerted that they should guess again
- Add reset button that calls init.
###Next Steps and stretch goals:
- Full face image shown when chin guessed correcly
- Various display messages based on correct or incorrect guesses
- create message arrays for different conditions
- display/return random idx within correct message array
- reset to default message at render
- All-chins-guessed/gameover feature [x] display 'Herm' image and 'Herm-approved' message
- Milestone messages at 5, 10, 15 chins
- changing backdrop based on milstone reached
- Hints
- create hint properties within chins array
- clickevent on 'hint button' will print a hint
- hint becomes accessible if answer is incorrect
- one additional hint becomes available for each additional incorrect guess
- Game Over result
- count number of incorrect inputs
- if number of incorrect inputs == 5, game is over
- Display number of wrong inputs made [x] fix conditional logic for wrong inputs counted
- Add additional alternate names for answers
- Build Browser responsiveness for mobile screens
- Incorrect guess passes
- Trade incorrect guess pass for clues
- Timer
- Multiplayer/How fast?: Each player takes turns correctly typing the name of a celebrity whose chin is pictured. A player accumulates time for every second taken to answer correctly, with a time limit of 60 seconds (1 minute) for each turn. If a player is unable to correctly guess the name of the celebrity within the time limit, 120 seconds (2 minutes) will be added to their cumulative time.