Skip to content
  • Sam Moore's avatar
    Improved -> Broke -> Fixed basic_python AI · 6e532774
    Sam Moore authored
    In the first place, should have probably actually tested this AI
    It was calling "move" with only 3 arguments, when I added a fourth one (multiplier)
    
    In the second place, added storing of more information by InterpretResult
    Also rewrote the code to make it much clearer when I got tired of retyping "self.board[p[0]][p[1]]" every second line...
    
    Of course rewriting the code was a bad idea, and caused many stupid errors.
    But it should be fixed now...
    
    Since asmodeus and other python AI inherit directly from the BasicAI class in basic_python, it kind of needs to work.
    6e532774