<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -56,7 +56,9 @@ module Chess
 	finished = Time.now
 
 	puts &quot;#{smartest_moves.length} option(s) found in #{finished - begun} second(s)&quot;
-	(puts &quot;no moves!? DRAW!\n\n#@log&quot;; exit) if smartest_moves.length.zero?
+    
+	# TODO check if our king is threatened, if so, it's checkmate, if not, stalemate
+	(puts &quot;no moves!? mate! (or draw)\n\n#@log&quot;; exit) if smartest_moves.length.zero?
 
 	new_board, from_pos, to_pos = smartest_moves.first[0]
       end</diff>
      <filename>chess.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c39892027b437220af240ef7eb437af11074d8bc</id>
    </parent>
  </parents>
  <author>
    <name>Arlen Cuss</name>
    <email>celtic@sairyx.org</email>
  </author>
  <url>http://github.com/celtic/chess/commit/b54d8f692cf214649f23370730ed723974558844</url>
  <id>b54d8f692cf214649f23370730ed723974558844</id>
  <committed-date>2009-02-11T05:47:00-08:00</committed-date>
  <authored-date>2009-02-11T05:47:00-08:00</authored-date>
  <message>update the message to be... slightly more appropriate</message>
  <tree>788696cdead0d4df0f051275253756f65abc30c0</tree>
  <committer>
    <name>Arlen Cuss</name>
    <email>celtic@sairyx.org</email>
  </committer>
</commit>
