ICS4M: Assignments, 2007-2008

Rock-Scissors-Paper

In November of 2007, grade 12 students engaged in a friendly Rock-Scissors-Paper competition. Rock-Scissors-Paper is a very simple game, but if you play against the same player enough, it's possible to learn how they play and beat them by predicting their next move. In this challenge, students developed virtual players to play rounds of 10,000 games at a time in a virtual arena. The best programs were the ones that were able to form an accurate model of the other player over the course of the tournament. Each virtual player also had a unique name, logo, and victory sound.

Below, you can watch the top two programs face off: teh_pwnerer (by Herui Guan) vs. Jason (by Jason Vandervennen). Although this match-up was a pretty decisive victory, both programs were so hard to beat that the final score in the tournament only differed by 1 point.

Play Rock-Scissors-Paper against teh_pwnerer.

DodgeBall

In December, 2007, the same students were given the challenge of completing a DodgeBall game. The game consists of one player object and a number of balls bouncing around the screen. The player's job is to use the keyboard or mouse control to avoid the balls for as long as possible. This was an exercise in event-driven, multi-threaded, object-oriented programming.

David Bruneau's Dodgeball