A real time, two player version of the classing word guessing game Hangman.
For the backend see: hangman-back
A real time, two player version of the classic word guessing game Hangman.
This version makes use of websockets technology, to allow connecting players into rooms, and notifying both players about selected word, and letter selections as quick as possible and without refreshing the page, in real time.
Other that that, it plays like any other hangman version.
- React v17.0.2
- Typescript v4.2.4
- Socket.io-client v4.1.2
To run this project locally, clone it and install using npm:
$cd ../hangman-game
$npm install
$npm start
Note: For the game to work, you will also need the backend part: hangman-back, and a .env file with REACT_APP_BACKEND variable, pointing to the backend URL.