pytron-web/pytron_run/ai_manager/dummy2/ai.py

9 lines
182 B
Python
Raw Normal View History

2019-03-26 11:17:09 +01:00
from tron.player import Player, Direction
class Ai(Player):
def __init__(self):
super(Ai, self).__init__()
2019-03-26 11:30:23 +01:00
def action(self, map, id):
2019-03-26 11:17:09 +01:00
return Direction.LEFT