Skip to content

Rock paper scissors is a simple game that can be played by people of all ages. And on this app its you against the computer.

Notifications You must be signed in to change notification settings

Naz1804/rock_paper_scissors_game

Repository files navigation

Rock Paper Scissors Against the Computer

This app is a simple game of rock paper scissors that you can play against the computer. Choose your hand shape and see if you can beat the computer's choice. The computer's choice is random, so it's a fair game.

Technologies

  • React
  • Vite
  • JavaScript
  • Tailwind CSS
  • HTML

Installation

First thing first is you need node.js installed. Use this Link to be sent to the node.js downloads.

  1. Then you can clone the code locally by copying the HTTPS from the <> Code button.

image

  1. Open a terminal window or open your code editor that you can open up a terminal.
  2. Navigate to the directory where you want to clone the repository.
  3. Then type git clone paste the HTTPS after that.
git clone https://github.com/Naz1804/rock_paper_scissors_game.git

To install the dependencies, run the following command in your terminal:

npm install

Then:

npm run dev

Next you will see this:

image

You have two options to either click on the http://localhost:5173/ or press o to open up the localhost.

You can always press h to see what more commands they are.

Finally you have the project running !!

image

About

Rock paper scissors is a simple game that can be played by people of all ages. And on this app its you against the computer.

Topics

Resources

Stars

Watchers

Forks