diff --git a/lib/goban.py b/lib/goban.py index 310c028..bee3a2a 100644 --- a/lib/goban.py +++ b/lib/goban.py @@ -47,7 +47,7 @@ class Goban: # fixme - somewhere in this or its component functions we need to # identify ko points :) - def place_stone(self, pos): + def play_move(self, pos): rpos = self._real_pos(pos) if not self._valid_move(rpos): diff --git a/pygo.py b/pygo.py index 9798cb0..ad3066b 100755 --- a/pygo.py +++ b/pygo.py @@ -115,7 +115,7 @@ def main(): if x <= board_size: if event.button == 1: - gb.place_stone((row, col)) + gb.play_move((row, col)) if event.type == USEREVENT: gb.elapsed_time += 1