Graphics World is a simple 2D game made in Python with the Pygame library. Pygame is a great library that is quite easy for students to learn and start making graphical games. This Graphics World assignment is designed to help students explore how to make a graphical game.
Graphics World is a follow up assignment to Text World where the students create the same game, but it is played in the terminal. The Text World assignment does not incorporate Object Oriented Programming but Graphics World does.
Graphics World gives the students the Graphic World main file, a Player file, and a Map file. At the start, the player can only move right. The students figure out how to add other things things by looking at the given code.
By the end of the assignment, the student should have included walls, a monster, and items for the player to collect. They might have also include background music and sound effects!
After completing the assignment, students should have a solid foundation about how the Pygame library works and should be ready to create their own 2D games.
I have included the assignment description as well as the source code for the students to get started.
The source code is released under the MIT License. The lab is released under the Creative Commons Attribution ShareAlike 4.0 International License.
You can download the files here.
Github repository is here.
Support
If you like my work, a small donation or feedback will be much appreciated.