Skip to content

bhavya00001/stone-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stone-paper-scissors

Description

This is a simple command-line implementation of the classic Stone-Paper-Scissors game in Java. The game allows a single player to play against the computer. The player and the computer each choose one of the three options (stone, paper, or scissors), and the winner is determined based on the rules of the game.

Features

  • Single-player mode: Allows the player to play against the computer.
  • Win detection: The game determines the winner based on the choices made by the player and the computer.
  • Score tracking: The game keeps track of the player's score.

Rules

  • Stone crushes scissors, scissors cuts paper, paper covers stone.
  • If both the player and the computer choose the same option, it's a tie.

Screenshots

Screenshot 2024-04-20 110158 Screenshot 2024-04-20 110212 Screenshot 2024-04-20 110225 Screenshot 2024-04-20 110247

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published