This week’s challenge is to create a game of Rock-Paper-Scissors.
This week, you can choose to either create a 2-player networked game with a friend, or if you don’t feel like doing networking, you can write a 1-player version where you play against the computer. It’s up to you!
This challenge makes use of the networking ideas that we have covered in recent weeks, when writing a network Chat program and when writing 2-player Pong.
The big ideas behind today’s challenge are:
- How to design a 1-player or 2-player program
- Using variables for exchange of data between computers and to pick random numbers
- Using broadcasts to sync parts of the game
Here are the presentation slides from the day, in PDF format: CDA-S2-Challenge15-RockPaperScissors.pdf
Next time, we will help ninjas to work on their own games.
If you would like me to send you these slides in PowerPoint format, feel free to get in touch on Twitter or via the comments!