| 1 | = Assignment 1 - Calvin and Hobbes in a red wagon rolling down a rocky hill = |
| 2 | |
| 3 | [[Image(thumbnail.png,right)]] |
| 4 | |
| 5 | == Project Overview == |
| 6 | |
| 7 | Calvin and Hobbes are comic book characters who frequently are found |
| 8 | zooming down a hill in a red wagon. This project abstractly represents |
| 9 | this passtime of theirs with a wagon bouncing down a rocky hill. Try |
| 10 | to avoid hitting rocks by jumping at the right time, but just like in |
| 11 | real life, it's not always possible to avoid a rough ride. A score |
| 12 | is assigned and written to standard out when you exit. |
| 13 | |
| 14 | == Interaction == |
| 15 | |
| 16 | * Keyboard: Push any key to jump up in the air in the wagon. |
| 17 | * Mouse: None |
| 18 | |
| 19 | == Files == |
| 20 | * assignment1.cpp - The one and only source file |
| 21 | * assignment - The executable |
| 22 | * Makefile - A very simple, strict, yet sadly not very portable makefile |
| 23 | * README - This |
| 24 | |
| 25 | == Compilation Instructions == |
| 26 | Compiled in Linux with gcc-3.3.1 and glut-3.7.1. |
| 27 | |
| 28 | $ make |
| 29 | |
| 30 | == Requirements == |
| 31 | |
| 32 | An object under keyboard/mouse control with four moving parts. |
| 33 | |
| 34 | Wagon, wheels, wagon's handle, passengers, ... there are at least four |
| 35 | unique moving parts in there. The keyboard control is simple, but I |
| 36 | think it's elegant. |