Tuesday, September 17, 2013

Homework: Flow Chart & Begin Code for Rock, Paper, Scissors

Tomorrow we will begin coding a "Rock, Paper, Scissors" game. Create a flow chart demonstrating how a user will choose either rock, paper or scissors, and then the computer will make a choice.

If you aren't familiar with the game, two players will count to three and then throw out their hands with either a rock, a paper, or a scissor.

  • Rock beats Scissors
  • Scissors beats Paper
  • Paper beats Rock
You may want to think about counting points so you could play "best of 10" or even until someone enters "quit".

No comments:

Post a Comment