Rename place_stone to play_move

This commit is contained in:
Anna Rose 2012-04-14 01:58:48 -04:00
parent 9a78f2918a
commit de81e9129f
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class Goban:
# fixme - somewhere in this or its component functions we need to # fixme - somewhere in this or its component functions we need to
# identify ko points :) # identify ko points :)
def place_stone(self, pos): def play_move(self, pos):
rpos = self._real_pos(pos) rpos = self._real_pos(pos)
if not self._valid_move(rpos): if not self._valid_move(rpos):

View File

@ -115,7 +115,7 @@ def main():
if x <= board_size: if x <= board_size:
if event.button == 1: if event.button == 1:
gb.place_stone((row, col)) gb.play_move((row, col))
if event.type == USEREVENT: if event.type == USEREVENT:
gb.elapsed_time += 1 gb.elapsed_time += 1