Line 51: |
Line 51: |
| **If the player eats a Power Pellet (4 per level) the ghosts freeze for a few seconds | | **If the player eats a Power Pellet (4 per level) the ghosts freeze for a few seconds |
| **Player has to eat the Enemy with the correct answer | | **Player has to eat the Enemy with the correct answer |
− | **If the player eats the wrong answer they lose a life, and continue playing, the ghost is warped back to its spawn | + | **If the player eats the wrong answer they lose a life, and continue playing, the ghost is warped back to its spawn point |
| **If the player eats 100 regular pellets they gain a life | | **If the player eats 100 regular pellets they gain a life |
| ***A life is an answer attempt, if you run out of lives the game ends | | ***A life is an answer attempt, if you run out of lives the game ends |
| **After the three ghosts have been eaten and answered correctly, a new 'level' (so to speak) begins | | **After the three ghosts have been eaten and answered correctly, a new 'level' (so to speak) begins |
| + | ***At the start of each level, three questions are generated of random operation type (+, -, /, x) |
| | | |
| *Questions | | *Questions |
| **Random question generation | | **Random question generation |
− | **The answer has a programmable limit | + | **The answer has a programmable limit (12 by default) |
| **Current Types | | **Current Types |
| ***Multiplication tables | | ***Multiplication tables |
Line 68: |
Line 69: |
| ***Inequalities (given a number, find which ghost's answer is greater than or less than the number) | | ***Inequalities (given a number, find which ghost's answer is greater than or less than the number) |
| ***Basic Algebra problems (solve for x) | | ***Basic Algebra problems (solve for x) |
| + | ***Fractions |
| | | |
| ===Features=== | | ===Features=== |
| *PacMath | | *PacMath |
| **User will control a yellow sprite | | **User will control a yellow sprite |
− | **User will attempt to touch numbered sprites based on mathematical questions | + | **User will attempt to "eat" numbered sprites based on mathematical questions |
| *Question sets | | *Question sets |
− | **Student picks question type at game start | + | **Question type randomly generated at game start |
− | **Instructor will be able to see the rankings of a particular student? | + | *Future Features |
− | *Ranking | + | **Instructor will be able to see the rankings of a particular student |
− | **<s>Top 10 scores will be recorded and displayed while game is paused</s> - maybe one day it will | + | **Student or teacher will be able to choose question type |
− | *Speed setting as well? | + | **Top 10 scores will be recorded and displayed while game is paused |
| + | **Adjustable speed (faster for more of a challenge) |
| | | |
| ===Controls=== | | ===Controls=== |
− | User will be able to interact with the game through two input devices | + | User will be able to interact with the game through the keyboard |
| *Keyboard | | *Keyboard |
| **UP-ARROW will move sprite up | | **UP-ARROW will move sprite up |
Line 87: |
Line 90: |
| **RIGHT-ARROW will move sprite right | | **RIGHT-ARROW will move sprite right |
| **LEFT-ARROW will move sprite left | | **LEFT-ARROW will move sprite left |
− | **P will pause and resume the game <s>while displaying Rankings</s> | + | **P will pause and resume the game |
− | *Game-Pad | + | *Future Controls - GameBoy mode |
| **UP-ANGLE will move sprite up | | **UP-ANGLE will move sprite up |
| **DOWN-ANGLE will move sprite down | | **DOWN-ANGLE will move sprite down |
| **RIGHT-ANGLE will move sprite right | | **RIGHT-ANGLE will move sprite right |
| **LEFT-ANGLE will move sprite left | | **LEFT-ANGLE will move sprite left |
− | **SQUARE will pause and resume the game <s>while displaying Rankings</s> | + | **SQUARE will pause and resume the game |
| | | |
| ==Code Structure Plan== | | ==Code Structure Plan== |