https://github.com/ai31024/stone-paper-scissors-2
An interactive Stone Paper Scissors game using jQuery, Bootstrap, Express, and Node.js. Includes audio, images, and gifs for enhanced experience, with randomized computer choices and JavaScript-based logic to decide the winner.
https://github.com/ai31024/stone-paper-scissors-2
bootstrap express jquery nodejs
Last synced: 3 months ago
JSON representation
An interactive Stone Paper Scissors game using jQuery, Bootstrap, Express, and Node.js. Includes audio, images, and gifs for enhanced experience, with randomized computer choices and JavaScript-based logic to decide the winner.
- Host: GitHub
- URL: https://github.com/ai31024/stone-paper-scissors-2
- Owner: Ai31024
- Created: 2024-10-17T10:18:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-18T04:36:50.000Z (over 1 year ago)
- Last Synced: 2024-10-19T14:09:11.283Z (over 1 year ago)
- Topics: bootstrap, express, jquery, nodejs
- Language: JavaScript
- Homepage: https://ai31024.github.io/stone-paper-scissors-2/
- Size: 1.21 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stone Paper Scissors 2
## Description
This is a fun and interactive Stone Paper Scissors game built using **jQuery**, **Bootstrap**, **Node.js**, and **Express.js**. The game includes audio, images, and gif(s) to enhance the user experience. The user can select their choice among the options, and the computer will randomly select its own. The game logic in JavaScript compares both choices and decides the outcome.
## Features
- User-friendly interface with **Bootstrap** styling.
- Dynamic and interactive elements like audio and gif(s).
- Randomized computer selection for gameplay.
- Game logic implemented using **JavaScript**.
- Server-side setup with **Express.js** and **Node.js**.
- **jQuery** for seamless DOM manipulation.
## Technologies Used
- **Frontend**: jQuery, Bootstrap
- **Backend**: Node.js, Express.js
- **Assets**: Audio files, Images, Gif(s)
## How to Run
1. Clone the repository:
```bash
git clone https://github.com/Ai31024/stone-paper-scissors-2.git
```
2. Navigate to the project directory:
```bash
cd stone-paper-scissors-2
```
3. Install dependencies:
```bash
npm install
```
4. Start the server:
```bash
nodemon server.js
```
5. Open your browser and navigate to:
```bash
http://localhost:3000
```
or, you can directly navigate to this address:
```text
https://ai31024.github.io/stone-paper-scissors-2/
```
## How to Play
1. Select one option: **Stone**, **Paper**, or **Scissors**.
2. The computer will make a random choice.
3. The game will display both choices and announce the result.
### Rules
- **Stone** beats **Scissors**
- **Scissors** beats **Paper**
- **Paper** beats **Stone**
## License
This project is licensed under the MIT License.