Pac-Man

Creating a copy of Pac-Man was my first programming assignment at IGAD. My programming teacher gave us a small engine he wrote. The engine was very bareboned and designed so we could read and write on each pixel on the screen. Because the engine was bareboned I had to write the rendering code and make a base of the objects. When I wanted to draw sprites on the screen I had choose the right sprite from the sprite sheet and copy each pixel over to the screen at the right position. I made a general function to copy over sprites because it is used by almost every object. This was my first project I have written in C++ and I learned a lot from it.