Game Description and Initial Setup

Learn what the game actually does, create required classes, and add and call basic functions.

Description

Now we will create the Watch Your Step game. The Watch Your Step game consists of a grid of tiles in 10 rows and 10 columns. Hidden behind ten of the tiles are black holes. Hidden behind some of the other tiles is the number of black holes in neighboring tiles. Click a tile to reveal what is behind it. If that tile has no number, the game will also reveal that tile’s neighbors. The goal is to reveal all the tiles without clicking on a black hole.

Here is a screenshot of the Watch Your Step program in the middle of a game:

Get hands-on with 1200+ tech skills courses.