<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,11 +4,12 @@
 #
 Shoes.setup do
   source &quot;http://code.vying.org&quot;
-  gem 'vying-pure', &quot;0.7.3&quot;
+  gem 'vying-pure', &quot;0.8.4&quot;
   gem 'starbots'
 end
 
 require 'vying'
+Bot.require_all
 
 class DisplayBoard &lt; Widget
   attr_reader :game, :width, :height, :offset, 
@@ -39,7 +40,7 @@ class DisplayBoard &lt; Widget
     draw
     @status.text = &quot;&quot;
 
-    while ! game.final? &amp;&amp; game[game.turn].bot?
+    while ! game.final? &amp;&amp; game[game.turn].user.bot?
       m, p = game.step
       slide( m )
     end
@@ -75,7 +76,7 @@ class DisplayBoard &lt; Widget
       s, e = cs
       p = pieces[s.x][s.y]
 
-      p.style[:moving] = []
+      p.style( :moving =&gt; [] )
       o, cw, ch, size = offset, cell_width, cell_height, p.size
 
       if from_x &amp;&amp; from_y
@@ -98,16 +99,16 @@ class DisplayBoard &lt; Widget
       step[1] = [step[1], -4].min if step[1] &lt; 0
 
       until psx == pex &amp;&amp; psy == pey
-        if (psx - pex).abs &lt; step.x.abs
+        if (psx - pex).abs &lt; step.first.abs
           psx = pex
         else
-          psx += step.x
+          psx += step.first
         end
 
-        if (pey - psy).abs &lt; step.y.abs
+        if (pey - psy).abs &lt; step.last.abs
           psy = pey
         else
-          psy += step.y
+          psy += step.last
         end
 
         p.style[:moving] &lt;&lt; [psx, psy]
@@ -148,7 +149,7 @@ class DisplayBoard &lt; Widget
       @moves, @move = nil, nil
 
       Thread.new do
-        while ! game.final? &amp;&amp; game[game.turn].bot?
+        while ! game.final? &amp;&amp; game[game.turn].user.bot?
           m, p = game.step
           slide( m )
         end
@@ -188,7 +189,7 @@ class DisplayBoard &lt; Widget
       @moves, @move = nil, nil
 
       Thread.new do
-        while ! game.final? &amp;&amp; game[game.turn].bot?
+        while ! game.final? &amp;&amp; game[game.turn].user.bot?
           m, p = game.step
           slide( m )
         end
@@ -281,6 +282,8 @@ class DisplayBoard &lt; Widget
           if p = board[x,y]
             size = imagesize( &quot;#{p}.png&quot; )
 
+            info &quot;size: #{size}&quot;
+
             pieces[x][y] = image &quot;#{p}.png&quot;,
                  :left =&gt; o + (cw - size[0]) / 2 + x * cw, 
                  :top  =&gt; o + (ch - size[1]) / 2 + y * ch 
@@ -300,10 +303,10 @@ Shoes.app :width =&gt; 900, :height =&gt; 560, :title =&gt; &quot;Breakthrough&quot; do
   background &quot;#fff9f2&quot;
 
   g = Game.new Breakthrough
-  g[:white] = Human.new( &quot;You&quot; )
-  g[:black] = CapellaBot.new
+  g[:white].user = Human.new( &quot;You&quot; )
+  g[:black].user = CapellaBot.new
 
-  db = displayboard( g, :width =&gt; 516, :height =&gt; 516 )
+  db = display_board( g, :width =&gt; 516, :height =&gt; 516 )
   db.canvas.motion do |left, top| 
     self.cursor = db.cursor_for( left, top )
     db.move_grabbed( left, top )
@@ -343,8 +346,8 @@ Shoes.app :width =&gt; 900, :height =&gt; 560, :title =&gt; &quot;Breakthrough&quot; do
     
     if k == :alt_g
       db.game = Game.new Breakthrough
-      db.game[:black] = CapellaBot.new
-      db.game[:white] = Human.new &quot;You&quot;
+      db.game[:black].user = CapellaBot.new
+      db.game[:white].user = Human.new &quot;You&quot;
       db.start_game
     end
   end</diff>
      <filename>breakthrough/breakthrough.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9ab43d9cb02da0f5ffbf8b9133e360d4352dc867</id>
    </parent>
  </parents>
  <author>
    <name>Eric K Idema</name>
    <email>eki@vying.org</email>
  </author>
  <url>http://github.com/eki/shoesfest/commit/19d4717994160bad3c02a9316877f6a05ebb3101</url>
  <id>19d4717994160bad3c02a9316877f6a05ebb3101</id>
  <committed-date>2008-12-21T19:40:33-08:00</committed-date>
  <authored-date>2008-12-21T19:40:33-08:00</authored-date>
  <message>Updates to keep this working in later versions of Shoes.</message>
  <tree>8846bab59c7f728e290c5fd78d1a262d67413a30</tree>
  <committer>
    <name>Eric K Idema</name>
    <email>eki@vying.org</email>
  </committer>
</commit>
