generated from mwc/project_game
regenerates mines and snacks
may still try to add more difficulty and update any docstrings and old commented code
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from retro.game import Game
|
||||
from board import Board
|
||||
|
||||
from score import num_mines
|
||||
from minecounter import num_mines
|
||||
|
||||
width = 25
|
||||
height = 25
|
||||
@@ -14,6 +13,6 @@ board = Board(width,height,num_snacks,num_mines)
|
||||
game = Game(
|
||||
board.get_agents(num_snacks, num_mines),
|
||||
state,
|
||||
board_size = (width, height)
|
||||
board_size = (width, height),debug=True
|
||||
)
|
||||
game.play()
|
||||
Reference in New Issue
Block a user