This is a Hangman game built using React, TypeScript, and Vite. The goal of the game is to guess the hidden word by suggesting letters, with up to seven incorrect guesses allowed before you lose the game.
- React + TypeScript: Provides a strong typing system and modern UI development framework.
- Vite: Ultra-fast build tool optimized for modern web development.
- Gameplay: You can make up to seven incorrect guesses before losing.
- The game will start once the page loads.
- Guess letters by clicking on them or typing on your keyboard.
- You can miss up to seven times before the game is over.
Try the game at the following link:
Play Hangman
- React: Frontend UI framework.
- TypeScript: Type-safe programming language.
- Vite: Build tool for modern web projects.
- Node.js and npm installed on your machine.
- Clone the repository:
git clone https://github.com/eric22f/hangman.git
- Navigate to the project directory
- Run the following scripts in your terminal window
npm install
npm run dev