This is a solo web development project using HTML, CSS, and JavaScript, making use of the ReactJS framework. The project itself is a game called Hangman.
Navigate here to try out this web project yourself: HANGMAN PROJECT
You can use either your keyboard or mouse to provide input.
The game will react responsively and shrink or grow according to the resolution of the users' media screen. For instance,
Desktop View (1280x720):
Tablet View (960x600):
Mobile View (360x640):
The hangman drawing was manually made using SVG.
- The man getting hung has slight animation made using CSS's keyframes
- Hovering over letter that have not been guessed result in a change of cursor and colour to indicate that they are guessable.
- After guessing a letter, it will be blacked out. Additionally, hovering over them will no longer result in a change of cursor, nor colour, indicating that they are not guessable.
- Restart game button also changes the cursor and colour upon hovering. Additionally, the button shrinks a little upon pressing the button.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
If the app is not able to run due to missing dependencies, you can try running this command before starting the app.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.