blob: b7abf4b1f00f4813c913406487ae5f78f9ea6c43 (
about) (
plain)
1
2
3
4
5
6
7
8
|
def up_bot(board, position):
return 'U'
if __name__ == '__main__':
from snakegame.engines.pyglet import PygletEngine
engine = PygletEngine(10, 10, 20)
engine.add_bot(up_bot)
engine.run()
|