Greed: Difference between revisions
Content added Content deleted
m (added whitespace, equated "erased" and "eaten".) |
|||
Line 2: | Line 2: | ||
This task is about making a clone of the game "GREED" by Matthew Day. |
This task is about making a clone of the game "GREED" by Matthew Day. |
||
This game is played on a grid of 79 column by 22 rows of random numbers from 1 to |
This game is played on a grid of '''79''' column by '''22''' rows of random numbers from '''1''' to '''9''' (inclusive). |
||
The player location is signified by the '''@''' symbol. |
|||
The object of Greed is to erase as much of the screen as possible by moving around (all 8 directions are allowed) in this grid. When you move in a direction, you erase N number of grid squares in that direction, N being the first number in that direction. Your score reflects the total number of squares eaten. |
|||
The object of Greed is to erase as much of the screen as possible by moving around (all 8 directions are allowed in this grid). |
|||
When you move in a direction, '''N''' number of grid squares are erased ("eaten") in that direction, '''N''' being the first number in that direction. |
|||
Your score reflects the total number of squares "eaten". |
|||
You may not make a move that places you off the grid or over a previously eaten square. |
You may not make a move that places you off the grid or over a previously eaten square. |
||
Line 11: | Line 17: | ||
[https://www.youtube.com/watch?v=XQHq6tdxylk&list=PLdvB7n7RN2UDkjHAWCmbQ8okmgSrjWcvE Video on YouTube] |
[https://www.youtube.com/watch?v=XQHq6tdxylk&list=PLdvB7n7RN2UDkjHAWCmbQ8okmgSrjWcvE Video on YouTube] |
||
<br><br> |
|||
=={{header|C++}}== |
=={{header|C++}}== |