public
Description: A chess hax in ruby
Clone URL: git://github.com/scrooloose/chesticles.git
make 'q' quit
scrooloose (author)
Sun Jun 22 02:30:22 -0700 2008
commit  583f1c95459a77e7470b12c0a3f36f4f9054af1a
tree    20c61fa767e5434a408177b5013e6f47a91e6bfc
parent  ec1e3ca648503b5f31b7c09b432c0cadba2e9ae1
...
106
107
108
 
109
110
111
...
106
107
108
109
110
111
112
0
@@ -106,6 +106,7 @@ class NcursesBoardRenderer
0
         when 57: xdiff, ydiff = 1, -1
0
         when 49: xdiff, ydiff = -1, 1
0
         when 51: xdiff, ydiff = 1, 1
0
+ when 'q'[0]: kill_main_loop
0
         end
0
 
0
         begin

Comments

    No one has commented yet.