Simple game of Hangman built with React.
If you just want to see and run the game, run these commands:
$ npm install
$ webpack
$ cd dist
$ python3 -m http.server
This will start an HTTP server in the dist folder on port 8000
. Don't have python3
? Just start your favorite HTTP server in this folder.
Want to develop? Use the following npm script:
$ npm install
$ npm run dev
A development server will be run on port 8080
.
Want to change the face of the hanging man? Replace assets/images/face.png
with your own and adjust $face-width
and $face-height
accordingly in src/components/HangingMan/styles.scss
.