Rename place_stone to play_move
This commit is contained in:
parent
9a78f2918a
commit
de81e9129f
2 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
2
pygo.py
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue