Control flow (Branching & Loops) / Cellular Automata    
5    
02.09.04

<  ^  >

Assignment 4: A Game

 

Make a game. This can be an arcade-style or an puzzle-type. Whatever you want. Here are some very good examples done for Casey Reas' class at UCLA.

Here is the assignment he gave them (called Input). He required that the games/events last ten seconds, begin with a start screen and end with a status/restart screen. He gave them a template to start with (also from the above link).

You may follow those guidelines if they help structure your thinking, or roam more freely if you want.

You are likely to want to use arrays which we will cover on Monday 2.16. But it's not essential.

You have until Monday 2.23 (a week and a half) to complete this. For this Monday (2.16), please post sketches of what you want to do, either as Processing applets or simply static images. Be prepared to talk about your plans.

To the right is a small unfinished example that you may want to mine for ideas and code.

   


source code

Blocker: Click with the mouse to move the green circle to avoid the shooting blocks. The "z" and "x" keys rotate the view. Currently nothing happens if you get hit, but we'll fix that soon...