CodePug: Programming Resources
Help Pixel the hamster protect her cage from an invasion of worms. This is a two player game, which involves using the arrow keys, I, J, K, M, space, and control to move each player.
As an added bonus, the source for the game is available. See how Hamster Fight implements a game loop, double buffering, and horizontal image flipping.
License: Freeware
The content and/or source code for the "Hamster Fight" application has been made available as a reference below. It is our hope that it will be an encouragement to others learning to program other freely available applications.
| Filename | Vers. | File type | Size | Comments |
| HamsterFight | 1.0 | Win32 EXE | 1002k | Supports Windows XP and Vista. |
| HamsterFightSrc.zip | 1.0 | C Source | 2011k | Requires Win32 LCC Compiler to compile. |