Welcome to the Hangman game project! This project is a simple implementation of the classic Hangman game using React.
Hangman is a word-guessing game where the player tries to guess a word by suggesting letters within a certain number of guesses. This project provides a simple UI for playing Hangman.
- Clone this repository to your local machine.
- Install dependencies by running
npm install
. - Run the project by executing
npm run dev
. - Start playing Hangman!
App.tsx
: Main component that orchestrates the game.HangmanDrawing.tsx
: Component responsible for rendering the Hangman visual.HangmanWord.tsx
: Component to display the word to be guessed.Keyboard.tsx
: Component for the interactive keyboard used to guess letters.wordList.json
: JSON file containing the list of words used in the game.
- React: JavaScript library for building user interfaces.
- TypeScript: A statically typed superset of JavaScript that adds optional types.
- CSS Modules: CSS file localization.
- npm: Package manager for Node.js.