Pacman clone

This project was created for the games programming module during my time at university. I was tasked with using C++, SDL, & Visual Studio to create a clone of pacman. This was a simple project but was still enjoyable to complete. My favourite aspect of this project was how I created the play area, I used a two-demensional array of numbers from zero to three. In this array zeros were the walls, ones were the collectables, twos were the enemies, and three was where the player spawned. When the game was loaded a nested For loop ran through the array to populate the playspace. The game had a score tracker which increased for each orb the player collected, the player and enemies had basic animations in place, and the enemies used a random number generator to decide where they would move next.