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.
- 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.
- Frontend: jQuery, Bootstrap
- Backend: Node.js, Express.js
- Assets: Audio files, Images, Gif(s)
-
Clone the repository:
git clone https://github.com/Ai31024/stone-paper-scissors-2.git
-
Navigate to the project directory:
cd stone-paper-scissors-2
-
Install dependencies:
npm install
-
Start the server:
nodemon server.js
-
Open your browser and navigate to:
http://localhost:3000
or, you can directly navigate to this address:
https://ai31024.github.io/stone-paper-scissors-2/
- Select one option: Stone, Paper, or Scissors.
- The computer will make a random choice.
- The game will display both choices and announce the result.
- Stone beats Scissors
- Scissors beats Paper
- Paper beats Stone
This project is licensed under the MIT License.