Skip to content

This is a simple console game and my first project - "Rock Paper Scissors"

License

Notifications You must be signed in to change notification settings

BoyanArnaudov/Console-game---Rock-Paper-Scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Console-game---Rock-Paper-Scissors

This is a simple console game and my first project - "Rock Paper Scissors"

  • Project goals The project goals to create a simple console game "Rock paper Scissors", where the user can play it against the computer

  • Solution I use Scanner to be able for the user to input his choise and Random to make sure computer will choose random 0, 1 or 2, combined with "Switch-case" (0 for rock, 1 for paper and 2 for scissors). For the results (Win or Lose) I used "If-else if" statements. The user can choise r or rock, p or paper, s or scissors and of course q or quit (for exit). When the user quit the game, the results are printed out - how many wins and loses he had, during the game.

*Screenshot image

*Live demo Here: https://replit.com/@BoyanArnaudov/Rock-Paper-Scissors#Main.java

About

This is a simple console game and my first project - "Rock Paper Scissors"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages