CodePug.com

Home | Games | Media | Programming | Raspberry Pi | Misc Content

Hamster Fight Game

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 Last udpated: 2010-06-13 19:04:46

Hamster Fight

Download

The content and source for the Window’s version of the “Hamster Fight” game has been made available below. It is our hope that it will be an encouragement to others learning to program other freely available games and applications.

Filename Vers. File type Size Comments
HamsterFightSrc.zip 1.0 C Source 2001k Requires Win32 LCC Compiler to compile.

Note: This code has not been fully tested. Please do not run this unless you acknowledge that you assume all risks associated with its operation.