Posts

Showing posts from August, 2021

Simple Rock Paper Scissors Game(Java)

Image
Simple Rock Paper Scissors game with JAVA language : Code: import   java . util . Random ; import   java . util . Scanner ; // Rock Paper Scissor game in java // Sk Elaf Ahmed public   class   RockPaper  {      public   static   void   main ( String []  args ) {          //Rock = 0   Paper = 1   Scissor = 2         Scanner   sc  =  new   Scanner ( System . in );         int   playerScore  =  0 ,  compScore  =  0 ;                 for ( int   i  = 0 ;  i < 3 ;  i ++){             System . out . println ( "Enter...