Category: Challenges

Byte Insight

Rock Paper Scissors

Task 1

Write a program that allows the user to play a game of Rock Paper Scissors.

Task 2

Improve the game so that a score is kept and it becomes a best of x rounds.

Task 3

Give the computers some AI so it no longer relies on a random choice and uses a set of logic to decide what to play next.  You might want to read up on strategy or check out the following video.

Task 4

Extend the game so it uses arrays (hopefully it should already) and has the extended options as described by Sheldon.