A random movie title from 1999 is pulled from an array, split into letters, and then the letters are put onto the gameboard.
Each time the player guesses a letter, the program compares the letter the player has chosen with the random movie title. If the letter is in the movie title, the gameboard displays the correctly chosen letters on the screen. If not, the player loses a life represented by a movie reel icon.
A player continues to select letters until they guess the movie title (and win), or make five incorrect guesses (and lose).
If the player completes the phrase before they run out of lives, a winning screen appears. If the player guesses incorrectly five times, a losing screen appears. The player can click the 'Try Again' button to reset the gameboard, keyboard, hearts, and start a new game.
Personalized Styles:
- change --color-win to #5FCF80
- change --color-start to #038690
- add wiggle animation to .show class
- bold font-weight for .title and .btn__reset
- use movie reel icons for tries instead of hearts