diff options
Diffstat (limited to 'snakegame/snake.py')
-rw-r--r-- | snakegame/snake.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/snakegame/snake.py b/snakegame/snake.py index 89e97da..539498f 100644 --- a/snakegame/snake.py +++ b/snakegame/snake.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from __future__ import division import sys @@ -14,10 +12,10 @@ import traceback from common import * -class SnakeEngine(object): +class Engine(object): def __init__(self, rows, columns, n_apples, wrap=False, results=False, *args, **kwargs): - super(SnakeEngine, self).__init__(*args, **kwargs) + super(Engine, self).__init__(*args, **kwargs) self.wrap = wrap self.bots = {} |