A simple react app that simulates a game of rock, paper, scissors with css animations & transitions
Inspired by a CodePen challenge, this app lets a user play a game of rock, paper, scissors vs. the computer. The computer selects randomly from the array so the user can expect to win, lose, and tie for the most part in equal measure. The app also tracks the win, lose, and tie record and writes it to local storage so history persists across refreshes.
- Basic Game Play: User selects Rock, Paper, or Scissors, and the computer randomly selects one as well
- Animations: Animations for countdown and face-off-shake effects
- Game History: Tracking for the number of wins, losses, and ties & caching game history for when a user returns in the future
View live demo or follow the instructions below to create and run your own copy locally:
- Clone the repo
git clone https://github.com/kgarrity22/repo_name.git
- Install packages
yarn install
- Running locally:
yarn dev
If you have any issues
Kathleen Garrity [email protected]
This project is licensed under the MIT License - see the LICENSE.txt file for details
Inspiration, code snippets, etc.