regenerates mines and snacks

may still try to add more difficulty and update any docstrings and old commented code
This commit is contained in:
Chris Mekelburg
2024-12-08 21:31:20 -05:00
parent 729e1085ee
commit 947f9647ba
16 changed files with 208 additions and 27 deletions

View File

@@ -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()