A downloadable game for Windows

     In GPR 250 - Game Architecture, I learned all about code organization.  Every assignment built on the last one, hence the reason why some of the files are called assignment1 since I just copied my previous project for each new assignment.  Through these assignments, I encapsulated Allegro into a small series of classes (Font, GraphicsSystem, GraphicsBuffer, and InputSystem), created animations, a classic game loop pattern, Units, a UnitManager, and a GraphicsBufferManager.  

    This specific project was the midterm for Game Architecture.  I had to make Snake using only C++ and allegro.  The new requirements included creating a Level and LevelManager, pseudo-randomly spawning power-ups, a basic menu system, HUD, event based input polling, and, of course, the snake itself.  We were allowed to design the movement of the snake any way we wanted, but I wanted to do the more fluid movement rather than the more simple method of popping the tail off the back of the list of body segments and putting it at the head in the direction the player was moving.

    Everything in SnakeGame (aside from the dll files) was written by me.  The files in common include the Allegro graphics library and helper functions my professor created like the framework for the EventSystem, Trackable/MemoryTracker which allows you to see memory leaks when implemented correctly, Vector2D which creates an object that stores an ordered pair (2 dimensional vector), and a few others.

Download

Download
SnakeGameSourceCode.zip 71 MB
Download
SnakeGameExec.zip 75 MB

Leave a comment

Log in with itch.io to leave a comment.