Greed

From Rosetta Code
Revision as of 09:26, 13 April 2016 by rosettacode>Paulo Jorente (Created page with "{{draft task|Games}} 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 9...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Greed is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

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 9. 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.

You may not make a move that places you off the grid or over a previously eaten square.

The game is over if there is no more valid moves.

Video on YouTube