nunojesus / rock-paper-scissors

✂️ A yet another rock, paper, scissors game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rock, Paper, Scissors

✂️ A yet another rock, paper, scissors game

License: MIT

** refactoring in progress **

The rules:

  • Scissors beats Paper
  • Rock beat Scissors
  • Paper beats Rock
  • If both players choose the same, the round is counted as a tie.
  • Player A (Computer) always chooses Paper
  • Player A (Computer) chooses randomly
  • Player B (Human) chooses normally

How to Run

Install the dependencies:

npm i

Run application:

npm run dev

Running the tests

You can run the Unit tests by typing:

npm run test

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

✂️ A yet another rock, paper, scissors game

License:MIT License


Languages

Language:JavaScript 98.0%Language:HTML 2.0%