Fixed an error in board update.

Current issue is that getMove always returns 0.