Skip to content
/ rps-react Public

"Rock! Paper, scissors" game. Code example on React.JS

Notifications You must be signed in to change notification settings

garf/rps-react

Repository files navigation

ROCK! Paper, scissors game

Installation

npm ci

Running

npm start

Tests

npm test

Known issues

  • not saving scores between sessions
  • game results flashing on scores reset
  • tests are written only for one service
  • very basic styling

What is done

  • playing player with computer
  • counting scores
  • resetting scores
  • it made possible to easily extend it to more options (lizard, Spock)
  • potentially extensible for more than 2 players

About

"Rock! Paper, scissors" game. Code example on React.JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published