12 lines
230 B
Python
12 lines
230 B
Python
|
"""An AI to try things"""
|
||
|
|
||
|
from tron.player import Player, Direction
|
||
|
|
||
|
class Ai(Player):
|
||
|
"""" A basic AI"""
|
||
|
def __init__(self):
|
||
|
super(Ai, self).__init__()
|
||
|
|
||
|
def action(self, game):
|
||
|
return Direction.RIGHT
|