Made a hangman-style game with React to brush up on the basics of React and eventually start learning more about Next.js.

For this project, I implemented:

  • Conditional styling and rendering of game elements such as the game status and keyboard using clsx
  • Game logic using two states for the current word and the player’s guesses, with everything else being derived from these states
  • A visually hidden section for game status updates via the screen reader for more accessibility Feel free to view the code and play the game yourself with the links above!
Hangman browser game