This is a Hangman game built using Angular and TailwindCSS. The game allows users to select a category, guess letters to reveal a hidden word, and manage game states including pausing, winning, and losing.
- Learn how to play Hangman from the main menu
- Start a game and choose a category
- Play Hangman with a random word selected from that category
- Win the game if they complete the whole word
- Pause the game and choose to continue, pick a new category, or quit
- Angular
- TailwindCSS
-
Clone the repository:
git clone https://github.com/ktscates/hangman-game.git cd hangman-game ``
- Install dependencies:
npm install
ng serve
Open your browser and navigate to http://localhost:4200/.
Handles the main game logic including:
- Displaying the masked word
- Handling letter guesses
- Updating game state based on guesses
Displays modal dialogs for:
- Pausing the game
- Winning the game
- Losing the game
Manages the game state including:
- Starting a new game
- Handling letter guesses
- Checking win/lose conditions
Provides the list of categories and words for the game.
You can access the deployed application at Hangman Game.