summaryrefslogtreecommitdiff
path: root/tictactoe.py
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-07-24 04:56:46 +0200
committerGuillaume Seguin <guillaume@segu.in>2007-07-24 04:56:46 +0200
commit4edc68161d7b11c0394d54b1479eece902d3b662 (patch)
tree3308f6aff1ceb9afbb2b1c1223361a1ab04a0d66 /tictactoe.py
parenta9d0c54a31af96bc46e9f2ec10d276678a6e918c (diff)
downloadtictactoe-4edc68161d7b11c0394d54b1479eece902d3b662.tar.gz
tictactoe-4edc68161d7b11c0394d54b1479eece902d3b662.tar.bz2
* Fix comments
Diffstat (limited to 'tictactoe.py')
-rwxr-xr-xtictactoe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tictactoe.py b/tictactoe.py
index 53e22be..747c598 100755
--- a/tictactoe.py
+++ b/tictactoe.py
@@ -96,7 +96,7 @@ class gtkTicTacToe (gtk.DrawingArea):
return False
def computer_turn_random (self):
- '''Computer IA - yes, it's _very_ random'''
+ '''Computer AI - yes, it's _very_ random'''
cells = self.empty_cells ()
cell = random.randint (1, cells)
for j in range (3):
@@ -110,7 +110,7 @@ class gtkTicTacToe (gtk.DrawingArea):
break
def computer_turn_smart (self):
- '''Computer IA, much less random'''
+ '''Computer AI, much less random'''
if not self._map[1][1]:
self._map[1][1] = COMPUTER_ID
return