Skip to content

Rock-Paper-Scissors is a well-known game implemented using JavaScript, TypeScript, and SCSS. The game's pixelated font creates a retro atmosphere that immerses players in the nostalgic experience.

Notifications You must be signed in to change notification settings

HMagda/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors

Rock-Paper-Scissors is a simple game implemented in JavaScript using TypeScript, and SCSS (CSS preprocessor). The game allows users to play against the computer by selecting one of the three options - rock, paper, or scissors, and then the user's choice, the computer's choice, and the result of the game are displayed. The game's aesthetic incorporates the distinctive pixelated style of the Press Start 2P font, immersing players in a charmingly retro atmosphere.

Getting Started

To get started with the game, follow these steps:

  1. Clone or download the repository
  2. Open your terminal and navigate to the project directory
  3. Run npm install to install the necessary dependencies
  4. Run npm run watch to start the development server and compile the code
  5. The index.html file will open automatically in your browser to play the game

Gameplay

To play the game, select one of the three options - rock, paper, or scissors. The computer will then randomly select one of the three options, and the result of the game will be displayed. The game uses a simple algorithm to determine the winner based on the rules of rock-paper-scissors.

Features

  • Simple and intuitive user interface.
  • Responsive design that adapts to different screen sizes.
  • Easy-to-understand game rules.
  • Lightweight and fast-loading.

About

Rock-Paper-Scissors is a well-known game implemented using JavaScript, TypeScript, and SCSS. The game's pixelated font creates a retro atmosphere that immerses players in the nostalgic experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published