I somehow uncommented something by accident!

I recommented it.
This commit is contained in:
Cory 2024-05-18 22:46:21 -04:00
parent e615e99e75
commit f0e166d6bd
7 changed files with 8 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,9 @@
# free_space.py
# ------------
# By Cory
# This module defines a free space agent class. It displays if enter is pressed while the cursor is on it.
# This module defines a free space agent class. It displays itself and (eventually)
# its neighbors if enter is pressed while the cursor is on it.
class FreeSpace:
character = '*'
display = True

View File

@ -2,6 +2,7 @@
# ------------
# By Cory
# This module defines a mine agent class. It ends the game if enter is pressed while the cursor is over it.
class Mine:
character = '_'

View File

@ -1,9 +1,10 @@
# minesweeper_game.py
# ------------
# By Cory
# This class implements a simple minesweeper game on a 9x9 gird.
# This class implements a simple minesweeper game on a 9x9 grid.
from retro.game import Game
from mine_spawner import Spawner
from spawner import Spawner
board_size = (9, 9)
spawner = Spawner(board_size)

View File

@ -1,4 +1,4 @@
# mine_spawner.py
# spawner.py
# ------------
# By Cory
# This module defines a spawner agent class. It spawns mines and then fills the remaining spots with free spaces