Your average cell phone now has vastly more programming power than the video game consoles of the seventies and early eighties, but the games made for those consoles are still fun to play. In this assignment you will create a game in the style of these retro video games. If you need some inspiration take a look at some of the games on The Console Living Room web site.
Details
Create a Python program that uses the graphics.py module to recreate a retro video game. The game can be anything you want, but must:
- not be derivative of previous work.
- have either keyboard or mouse input from the user.
- have at least one image that moves.
- have the ability for the player to win or lose.
- display a message when the player wins or loses.
Extra
Outstanding games will receive extra credit. I will be the arbiter of whether a drawing is astounding.
Grading
The assignment will be graded on the following requirements according to the course’s programming assignment rubric.
Effort (40%): Here is an example game with average effort:
Functionality (35%): A functional program will:
- not be derivative of previous work.
- have keyboard or mouse input.
- have an image that moves.
- have the ability to win or lose.
- display a message when the player wins or loses.
Style (25%): A program with good style will:
- include a header comment signifying the authors of the file.
- avoid magic numbers (literal primitive numbers).
- use meaningful names for variables and functions.
- have statements that are small (80 characters or less including leading space) and do one thing.
- have functions that are small (40 lines or less including comments) and do one thing.
- have a comment above functions that includes the purpose, the pre-conditions, and the post-conditions of the function.
- have spaces after commas in argument lists and spaces on both sides of binary operators (=, +, -, *, etc.).
Submission
Submit your program and any image files it uses as a .zip file on the course Inquire page before class on Wednesday October 14th.