From de81e9129f518c736787ff1e62c2c401136d2909 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Sat, 14 Apr 2012 01:58:48 -0400 Subject: [PATCH] Rename place_stone to play_move --- lib/goban.py | 2 +- pygo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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