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

9 lines
179 B
Python

from tron.player import Player, Direction
class Ai(Player):
def __init__(self):
super(Ai, self).__init__()
def action(self, game):
return Direction.LEFT