summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--snake.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/snake.py b/snake.py
index add6e62..89e97da 100644
--- a/snake.py
+++ b/snake.py
@@ -15,8 +15,9 @@ import traceback
from common import *
class SnakeEngine(object):
- def __init__(self, rows, columns, n_apples, wrap=False, results=False):
- super(SnakeEngine, self).__init__()
+ def __init__(self, rows, columns, n_apples, wrap=False, results=False,
+ *args, **kwargs):
+ super(SnakeEngine, self).__init__(*args, **kwargs)
self.wrap = wrap
self.bots = {}