smab / playhouse-web

GNU Affero General Public License v3.0
0 stars 2 forks source link

[games] Othello does not start #64

Closed wamanuz closed 10 years ago

wamanuz commented 10 years ago

I get "Loading failed: name 'handler' is not defined"

Traceback (most recent call last):
  File "/home/mackan/programmering/mvk/playhouse-web/src/config.py", line 516, in post
    manager.load_game()
  File "/home/mackan/programmering/mvk/playhouse-web/src/manager.py", line 104, in load_game
    game.init()
  File "/home/mackan/programmering/mvk/playhouse-web/src/lightgames.py", line 256, in init
    self.reset()
  File "src/games/othello.py", line 30, in reset
    set_description(self, handler)
NameError: name 'handler' is not defined
wamanuz commented 10 years ago

And I still believe that implementing the rules as a template variable is the best way.