diff options
author | Peter Ward <peteraward@gmail.com> | 2011-05-27 17:04:59 +1000 |
---|---|---|
committer | Peter Ward <peteraward@gmail.com> | 2011-05-27 17:04:59 +1000 |
commit | e0962ffe58cd43534ebc98ee7e83f70b992855a8 (patch) | |
tree | 836f4f1d019dfa0289b899a11fc35af6c3b1cc3b | |
parent | 368a79abc1982615dc521e2128abd15ba1d28966 (diff) |
Minor fixes.
-rw-r--r-- | snake.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 = {} |