Now let's tackle the method responsible for flagging a cell. We'll call it markTile.
It must:
- mark a cell on the playing field with a flag, or remove a flag from a cell;
- track the number of flags;
- handle drawing and erasing flags on the playing field;
- change the a cell's color if a flag is
Minesweeper (Part 10/16)
- 3
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
lijin
21 June 2020, 15:07
NO
+3