You are a small green ball sitting in a grid full of obstacles. Your aim is to collect all the gems without running into any mines.
You can move the ball in any orthogonal or diagonal direction. Once the ball starts moving, it will continue until something stops it.
A wall directly in its path will stop it. Also, some of the squares are ‘stops’, when the ball moves on to a stop, it will stop moving no matter what direction it was going in. Gems do not stop the ball, it picks them up and keeps on going.
Running into a mine is game loss. Even if you picked up the last gem in the same move which then hit a mine, the game will count you as dead rather than victorious...