project_game/gamefiles/nav_game.py

18 lines
381 B
Python

from retro.game import Game
from board import Board
'''This contains the main info for setting up and running the game.'''
width = 25
height = 25
state= {"Score":00}
num_snacks = 10
board = Board(width,height,num_snacks,state) #sets the original board
game = Game(
board.get_agents(num_snacks,state),
state,
board_size = (width, height),debug=True
)
game.play()