blob: 8352aec136719bc07c287535521f203da98ef83e (
about) (
plain)
1
2
3
4
5
6
7
8
9
|
def print_bot(board, position):
print position
print board
if __name__ == '__main__':
from snakegame.engines.pyglet import PygletEngine
engine = PygletEngine(3, 4, 3)
engine.add_bot(print_bot)
engine.run()
|