Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 496 Bytes

Project-overview.md

File metadata and controls

12 lines (11 loc) · 496 Bytes

Rock Paper Scissor :

  1. display prompt about user interface , aking user about there choice
  2. read user input from console
  3. if input is valid more from "p" , "q" , "r" then ~ 3.1. Choose AI move at random
  4. Compare Player move with AI move
  5. Show the result
  6. else-if input is "q" then we quite the program
  7. if input is anything else we print 'invalid input' note : we have to execute all the logic in an infinite loop , like while loop have true , i.e. while(true)