Skip to content

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.

Notifications You must be signed in to change notification settings

Ai31024/stone-paper-scissors-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

    git clone https://github.com/Ai31024/stone-paper-scissors-2.git
  2. Navigate to the project directory:

    cd stone-paper-scissors-2
  3. Install dependencies:

    npm install
  4. Start the server:

    nodemon server.js
  5. 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/
    

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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published