Skip to content

Write a program that allows the user to play the rock, paper, scissors game.

Notifications You must be signed in to change notification settings

MegKam0211/rockPaperScissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

rockPaperScissors

Write a java program that allows the user to play the rock, paper, scissors game.

The program should randomly generate a number 0, 1, 2, which represents scissors, rock and paper respectively.

The program should then prompt the user to enter a number 0, 1, 2.

Once the user has entered their number the program should inform them whether they win, lose or draw.

The rules of the game are as follows: ○ Scissors beats paper ○ Rock beats scissors ○ Paper beats rock

About

Write a program that allows the user to play the rock, paper, scissors game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages