Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.1 KB

File metadata and controls

18 lines (13 loc) · 1.1 KB

React Rock Paper Scissors Variant

This project was built to get more practice using React hooks. It is based off a problem I came across on Codewars called, "Rock-Paper-Scissors-Lizard-Spock" where I had to come up with the logic that deciphered how to check whether a user "won" or not. The project is hosted on Heroku here. The server may take some time to spin up, please be patient and/or refresh the page if its not working. Once its loaded, check it out and play few games!

Installation

First install node. Although most of the packages below should be included with npx create-react-app my-app, make sure you have the following packages installed prior to running npm start:

npm install react 18.2.0
npm install react-dom 18.2.0
npm install react-scripts 5.0.1

Here's an example of what the game page should look like once you're logged in.

Imgur

Questions?

Send me a message on GitHub (Matthew-Hiebing) or email me at: [email protected]