Skip to content

Commit a61b802

Browse files
add Readme.md
1 parent 23a8fcd commit a61b802

File tree

1 file changed

+60
-1
lines changed

1 file changed

+60
-1
lines changed

Rock-Paper-Scissors-Game/README.md

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,60 @@
1-
# Rock-Paper-Scissors-Game
1+
## Rock Paper Scissors Game
2+
3+
This is a simple web-based Rock Paper Scissors game where users can play against the computer. The game has a visually appealing interface and is built using HTML, CSS, and JavaScript.
4+
5+
### Table of Contents
6+
- [Setup](#setup)
7+
- [Usage](#usage)
8+
- [Code Structure](#code-structure)
9+
- [Contributing](#contributing)
10+
- [License](#license)
11+
12+
### Setup
13+
14+
1. **Clone the repository:**
15+
16+
```bash
17+
git clone https://github.com/gauravbhaskar080/Rock-Paper-Scissors-Game.git
18+
```
19+
20+
2. **Open the project:**
21+
22+
Navigate to the project directory.
23+
24+
```bash
25+
cd Rock-Paper-Scissors-Game
26+
```
27+
28+
3. **Open `index.html`:**
29+
30+
Right-click on `index.html` and open it with your preferred web browser.
31+
32+
### Usage
33+
34+
- Upon opening the game, users are presented with a visually appealing interface where they can see computer and user choices.
35+
- Users can click on the Rock, Paper, or Scissors buttons to make their choice.
36+
- The computer's choice is generated randomly.
37+
- The result of the game (win, lose, or draw) is displayed along with the respective icons.
38+
- The game also provides a navigation bar with the title "ROCK PAPER SCISSORS GAME" for easy navigation.
39+
40+
### Code Structure
41+
42+
- `index.html`: The main HTML file that contains the structure of the game interface.
43+
- `style.css`: The CSS file that provides the styling for the game.
44+
- `app.js`: The JavaScript file responsible for the game logic and interactivity.
45+
46+
### Contributing
47+
48+
If you'd like to contribute to this project, please follow these steps:
49+
50+
1. Fork the repository.
51+
2. Create a new branch for your feature or bug fix.
52+
3. Make your changes and commit them with descriptive messages.
53+
4. Push your changes to your forked repository.
54+
5. Create a pull request to the original repository.
55+
56+
### License
57+
58+
This project is licensed under the [MIT License](LICENSE). Feel free to use, modify, and distribute the code for your own purposes.
59+
60+
---

0 commit comments

Comments
 (0)