Skip to content
Snippets Groups Projects
Commit adb8772b authored by Jon's avatar Jon
Browse files

Add __name__ == __main__ statement

parent 1da4eefc
No related branches found
No related tags found
No related merge requests found
from une_ai.vacuum import VacuumGame, DISPLAY_HEIGHT, DISPLAY_WIDTH
from agent_programs import simple_reflex_behaviour, model_based_reflex_behaviour, goal_based_reflex_behaviour, utility_based_reflex_behaviour
# To test the different agent programs, change the function passed as parameter to create the instance of VacuumGame
game = VacuumGame(utility_based_reflex_behaviour, DISPLAY_WIDTH, DISPLAY_HEIGHT)
\ No newline at end of file
if __name__ == "__main__":
# To test the different agent programs, change the function passed as parameter to create the instance of VacuumGame
game = VacuumGame(utility_based_reflex_behaviour, DISPLAY_WIDTH, DISPLAY_HEIGHT)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment