Robot Battle

This is a simple demo from 2003 that I wrote in C using OpenGL and SDL libraries for Linux.  Moving the mouse spins and elevates the camera.  The arrow keys move the camera forwards, backwards, to the left, and to the right.  Pressing the W and S keys move the robot forwards and backwards.  Pressing the A and D keys rotate the robot.  I had envisioned allowing the player create their own robots and battling against other robots.  If the window is blank, move your mouse over the window and move the mouse up.

The source code and images are included, as well as the Blender model for the robot.  All files are provided AS-IS.

Download – robotbattle.tar.gz

Now available on GitHub –

If compiling from source, you may need to apt-get the following:

sudo apt-get install freeglut3 freeglut3-dev
sudo apt-get install libsdl1.2-dev
sudo apt-get install libxxf86vm-dev