Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code JSP/Java
Title: PaperScissorsRock Download
 Description: Firstly, If the user input is 0,the program will print “Player picks paper”. If the user input is 1,the program will print “Player picks scissors”. If the user input is 2,the program will print “Player picks rock”. Secondly, If the randomly generated integer is 0,the program will print “Computer picks paper”. If the randomly generated integer is 1,the program will print “Computer picks scissors”. If the randomly generated integer is 2,the program will print “Computer picks rock”. Finally, The program will determine and output the winner of the game. To do so, the following rules are applied: 1. Rock beats scissors (i.e. 2 beats 1) 2. Scissors beats paper (i.e. 1 beats 0) 3. Paper beats rock (i.e. 0 beats 2) 4. If the choice picked by the user and computer are the same, game draws. If computer wins,the program will print “Computer Wins”. If user wins,the program will print “Player wins”. If game is drawn,the program will print “Draw”.
 Downloaders recently: [More information of uploader hhchan01]
 To Search:
File list (Check if you may need any files):
PaperScissorsRock.java
    

CodeBus www.codebus.net