<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -6,6 +6,7 @@ class chessboard:
         self.board = [[0]*m for i in range(n)]
         self.move_board = [[0]*m for i in range(n)]
         self.set_weights()
+        self.moves = [(i, j)]
     
     def on_board(self, i, j):
         return (i&gt;=0) and (j&gt;=0) and (i&lt;(self.size[0])) and (j&lt;(self.size[1]))
@@ -36,6 +37,7 @@ class chessboard:
             self.zero(self.pos)
             if not low: break
             self.pos = pos = low
+            self.moves.append(low)
             self.move_board[low[0]][low[1]] = i
             i += 1
 </diff>
      <filename>knight.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3568c045182f25fe32b997365a3dc150779e2411</id>
    </parent>
  </parents>
  <author>
    <name>Paul Bonser</name>
    <email>pib@paulbonser.com</email>
  </author>
  <url>http://github.com/pib/scripts/commit/60b2a76e0e77a34a2d144d0e9682db353dac9c5e</url>
  <id>60b2a76e0e77a34a2d144d0e9682db353dac9c5e</id>
  <committed-date>2008-11-30T13:55:30-08:00</committed-date>
  <authored-date>2008-11-30T13:55:30-08:00</authored-date>
  <message>keep track of moves</message>
  <tree>af883412b8465fc0baa4b0b5d42bca26228a9223</tree>
  <committer>
    <name>Paul Bonser</name>
    <email>pib@paulbonser.com</email>
  </committer>
</commit>
