Many people think of games as waste of time or worse a corrupting influence on children. But games can also be a positive influence on children. A game that makes learning fun can boost a students performance in school which can have many positive effects later in life. In this assignment you will create an educational game.
Details
Create a Python program that uses the graphics.py module to create an educational video game. The game can be anything you want, but must:
- use the graphics module to display the game.
- use the graphics module for for user input.
- not use use command line for input or output.
- display instructions to the user on how to play.
- have the ability for the player to win or lose.
- display a message when the player wins or loses.
Extra
Remarkable 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:
- use the graphics module to display the game.
- use the graphics module for for user input.
- not use use command line for input or output.
- display instructions on how to play.
- 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 November 11th.