A game engine for allegro