I have a lot of fun designing and implementing back-end systems, and designing for Snake is no exception.
Snake is my midterm project for my Game Architecture course at Champlain College, everyone in the class was challenged to recreate Snake using C++, Allegro 5, and Visual Studio. I spent a lot of time hammering down the input mechanics to get turning to feel as precise as possible. The architecture uses an event queue to keep track of button presses, which makes sure Mr. Snake reacts to your speedy keypresses exactly how you want him to. My version of Snake consists of three levels. The green, orange, and blue animated squares indicate food, slow-down, and speed-up powerups, respectively.
Development
I have a lot of fun designing and implementing back-end systems, and designing for Snake is no exception.
Over the two-week development phase, I worked on many systems, including input and event handling, level creation tools, and basic gameplay mechanics. I especially enjoyed creating the level creation tool, as I added support for the game to read in image files as level data. Some of the basic gameplay mechanics include keeping score, moving the snake, and powerup implementation.
Gameplay Pictures
Playable Download
If you would like to download Snake and play it for yourself, here is a playable version for Windows computers.
Repository
If you’re interested in viewing the code, check out the GitHub repo, my GitHub account is Andy608.
Leave a Comment