Skip to content

Commit 0ac449e

Browse files
Apoorv GoyalApoorv Goyal
Apoorv Goyal
authored and
Apoorv Goyal
committed
added minimal SPS game
1 parent c23f181 commit 0ac449e

20 files changed

+18238
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Rock, Paper, Scissors Game
2+
3+
This is a simple Rock, Paper, Scissors game built using React. It allows users to play the classic hand game against the computer. Make your choice, see the computer's choice, and find out who wins!
4+
5+
## Technologies Used
6+
7+
- **React**: The project is built using React, a popular JavaScript library for building user interfaces. React provides a component-based architecture and facilitates the development of interactive web applications.
8+
9+
- **JavaScript**: JavaScript is used for the game's logic and to manage user interactions.
10+
11+
- **HTML/CSS**: The project includes HTML for structuring the webpage and CSS for styling the game.
12+
13+
## How to Play
14+
15+
1. Clone this repository to your local machine.
16+
17+
```bash
18+
git clone https://github.com/your-username/rock-paper-scissors.git
19+
```
20+
2. Navigate to the project directory.
21+
```bash
22+
cd rock-paper-scissors
23+
```
24+
3. Install dependencies using npm.
25+
```bash
26+
npm install
27+
```
28+
4. Start the development server.
29+
```
30+
npm start
31+
```
32+
33+
This will launch the game in your web browser at http://localhost:3000.
34+
35+
Click on one of the available options: Rock, Paper, or Scissors.
36+
37+
The computer will make its choice, and the game will announce the winner for that round.
38+
39+
Play as many rounds as you like!
40+
41+
42+
![Demo Image](./working_demo.png)

0 commit comments

Comments
 (0)