[Gridflow-cvs] [svn] commit: r6222 - /trunk/examples/tictactoe.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Sep 7 21:49:37 EDT 2010


Author: matju
Date: Tue Sep  7 21:49:33 2010
New Revision: 6222

Log:
show which combinations are winning

Modified:
    trunk/examples/tictactoe.pd

Modified: trunk/examples/tictactoe.pd
==============================================================================
--- trunk/examples/tictactoe.pd (original)
+++ trunk/examples/tictactoe.pd Tue Sep  7 21:49:33 2010
@@ -1,5 +1,4 @@
-#N canvas 515 110 624 496 10;
-#X obj 14 54 #many tgl 3 3;
+#N canvas 515 110 645 513 10;
 #X obj 0 0 doc_demo;
 #X text 2 24 Copyright 2010 by Mathieu Bouchard;
 #X obj 48 215 #extract_diagonal;
@@ -13,13 +12,13 @@
 #X obj 48 272 #join 0;
 #X obj 31 299 #join 0;
 #X obj 14 326 #join 0;
-#X obj 14 364 #fold |;
+#X obj 14 404 #fold |;
 #X obj 14 345 #fold &;
-#X obj 14 383 #to_float;
-#X obj 14 402 tgl 45 0 empty empty WIN! 50 22 0 24 -1 -4034 -1 0 1
+#X obj 14 423 #to_float;
+#X obj 14 442 tgl 45 0 empty empty WIN! 50 22 0 24 -1 -4034 -1 0 1
 ;
 #X text 63 345 ALL cells in a direction;
-#X text 63 362 in ANY direction (AT LEAST ONE OF);
+#X text 63 402 in ANY direction (AT LEAST ONE OF);
 #X text 143 195 slash direction;
 #X text 125 234 backslash direction;
 #X obj 339 343 display;
@@ -31,22 +30,26 @@
 #X text 299 421 col 2:;
 #X text 299 433 slash:;
 #X text 275 446 backslash:;
-#X connect 0 0 7 0;
-#X connect 3 0 9 0;
-#X connect 4 0 5 0;
-#X connect 5 0 10 0;
-#X connect 6 0 12 0;
-#X connect 7 0 8 0;
-#X connect 8 0 13 0;
-#X connect 8 1 6 0;
-#X connect 8 2 3 0;
-#X connect 8 3 4 0;
-#X connect 9 0 11 0;
+#X obj 14 54 #many tgl 3 3;
+#X obj 23 381 display;
+#X text 27 361 ways in which it is winning;
+#X connect 2 0 8 0;
+#X connect 3 0 4 0;
+#X connect 4 0 9 0;
+#X connect 5 0 11 0;
+#X connect 6 0 7 0;
+#X connect 7 0 12 0;
+#X connect 7 1 5 0;
+#X connect 7 2 2 0;
+#X connect 7 3 3 0;
+#X connect 8 0 10 0;
+#X connect 9 0 10 1;
 #X connect 10 0 11 1;
 #X connect 11 0 12 1;
-#X connect 12 0 13 1;
+#X connect 12 0 14 0;
+#X connect 12 0 21 0;
 #X connect 13 0 15 0;
-#X connect 13 0 22 0;
-#X connect 14 0 16 0;
-#X connect 15 0 14 0;
-#X connect 16 0 17 0;
+#X connect 14 0 13 0;
+#X connect 14 0 31 0;
+#X connect 15 0 16 0;
+#X connect 30 0 6 0;



More information about the Gridflow-cvs mailing list