A 2D Puzzle Game


Key Details

Made using C++ and the Allegro 4.2.3 library.

1st year University Assignment - Graded as a 1st.

Loads the data for the maps from a text file, allowing new maps to be made externally to the source code.

Uses Object Orientated Principles such as inheritance, composition and encapsulation.

Source code on GitHub


This was my second Software Programming assignment at Bournemouth University. For this assignment we were told to create a 2D game of our choosing, written in C++ and using the Allegro 4.2.3 library. I decided that I would do a 2D puzzle game involving two objects, whose movement were linked together. For this we were told that we would be marked on things such as making use of object orientated techniques, including encapsulation, inheritance and composition. I mainly focused my code on being data driven and as such decided to build a game that would load the data for the number of maps and the maps themselves. This was because I had intended to create an ability for the user to create their own maps, and even though this feature was not implemented [I ran out of time], the backend of the idea still worked. As such, the games maps could be edited by changing the text files that store the data. I also created all of the sprites for this game. This assignment was graded a 1st.

© 2024 Jamie Slowgrove