generated from mwc/project_game
12 lines
325 B
Python
12 lines
325 B
Python
# minesweeper_game.py
|
|
# ------------
|
|
# By Cory
|
|
# This class implements a simple minesweeper game on a 9x9 gird.
|
|
from retro.game import Game
|
|
from cursor import Cursor
|
|
|
|
board_size = (9, 9)
|
|
cursor = Cursor(board_size)
|
|
# spawner = AsteroidSpawner(board_size)
|
|
game = Game([cursor], {"score": 0}, board_size=board_size)
|
|
game.play() |