<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<HTML>
  <HEAD>
    <link rel="icon"          href="/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    <link rel="stylesheet"    href="../../../../../../default.css"  type="text/css">

    <TITLE>An implementation of the Playtomo Stonedge game, with its solver</TITLE>

    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
    <META HTTP-EQUIV="Description"
          NAME="description" CONTENT="An implementation of the Playtomo Stonedge game, with its solver.">
    <META NAME="author"      CONTENT="Pascal J. Bourguignon">

    <META NAME="keywords"    CONTENT="Common Lisp, Lisp, game, playtomo, stonedge, solver">
  </HEAD>
  <BODY>
    <!--TOP-BEGIN-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<DIV CLASS="TOP"></DIV>
<!--TOP-END-->
    <!--MENU-BEGIN-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<DIV CLASS="MENU"><HR><P>|
 <A HREF="../../../../../../toc.html">Contents</a> |
 <A HREF="../../../../../../index.html">Home</a> |
 <A HREF="../sedit/index.html.in">Previous</a> |
 <A HREF="../index.html.in">Up</a> |
 <A HREF="../rpsls/index.html.in">Next</a> |
</P><HR></DIV>
<!--MENU-END-->

    <H1>An implementation of the Playtomo Stonedge game, with its solver</H1>

    <p>This is an implementation of the Playtomo Stonedge Game, and its solver.
      See <a href="http://www.playtomo.com/">http://www.playtomo.com/</a> (not much here when I went);
      Download the playtomo games on BlackBerry.


      <UL>
        <LI><A HREF="playtomo-stonedge.lisp">playtomo-stonedge.lisp</A></LI>
      </UL>


    <p>Playtomo's implementation is nicer (graphical), but here, we
      provide a solver that will find all the solutions to a given level.
      <strong>Even nicer!</strong></p>

<pre>
                  +---+
block             |BBB|
                  +---+
empty cell        |   |
                  +---+
solid cell        |SSS|
                  +---+
red button cell   |[R]|
                  +---+
blue button cell  |[B]|
                  +---+
ice cell          |,,,|
                  +---+
target cell       |TTT|
                  +---+
closed door       | / |
                  +---+
open door         |---|
                  +---+
</pre>


<p>To move the block, use:</pre>
<pre>
      8           i
    4   6   or  j   l
      2           k
</pre>


<p>Example:</p>
<pre>
CL-USER&gt; (stonedge *level-39*)
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |CCC|[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   | / |SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 8
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |CCC|[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   | / |SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+BBB+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 8
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |CCC|[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|   |   |   |   |   | / |SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 8
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |CCC|[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|BBB|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+BBB+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   | / |SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 8
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|BBB|---|[R]| / |CCC|[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   | / |SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]|BBBBBBB|---|CCC|[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   | / |SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]|---|[R]|BBB|CCC|[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   | / |SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]|---|[R]|---|BBBBBBB|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 4
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]|---|[R]|BBB|   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 4
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]|BBBBBBB| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 4
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|BBB| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 4
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |BBBBBBB|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 2
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |BBBBBBB|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|BBB|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 2
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+BBB+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 2
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 2
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+BBB+---+---+---+---+---+---+---+---+---+
|   |   |   |   |BBB|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|BBB|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+BBB+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|BBB|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 2
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |BBB|CCC|SSS|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|BBBBBBB|CCC|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|   |SSS|BBB|SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |CCC|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|   |SSS|   |BBBBBBB|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 8
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |BBBBBBB|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|   |SSS|   |SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 8
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |BBBBBBB|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|   |SSS|   |SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 6
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|BBB|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|   |SSS|   |SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 8
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |---|BBB|   |   |
+---+---+---+---+---+---+---+---+---+---+---+BBB+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|BBB|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|   |SSS|   |SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 4
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|[B]| / |[R]| / |   |[R]|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |,,,|,,,|SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |BBB|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+BBB+---+---+---+
|   |   |   |   |SSS|   |   |   |   |   |BBB|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |,,,|SSS|   |   |   |SSS|TTT|SSS|   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |SSS|SSS|   |   |   |   |SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |SSS|   |SSS|   |SSS|SSS|   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
|   |   |   |   |   |   |   |   |   |   |   |   |   |   |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Your move: 2

You win!

; No value
CL-USER&gt; (solve-problem *level-39*)

(NUMBER OF STATES = 990)
((:WIN 10 5 10 5 :CLOSED :CLOSED :CLOSED :CLOSED :CLOSED :CLOSED :OPEN)
 (:FRONT :FRONT :FRONT :FRONT :RIGHT :RIGHT :RIGHT :LEFT :LEFT :LEFT :LEFT
  :BACK :RIGHT :BACK :BACK :BACK :RIGHT :BACK :RIGHT :RIGHT :RIGHT :FRONT
  :FRONT :RIGHT :FRONT :LEFT :BACK))
((:WIN 10 5 10 5 :OPEN :CLOSED :CLOSED :CLOSED :CLOSED :CLOSED :OPEN)
 (:FRONT :FRONT :FRONT :FRONT :RIGHT :RIGHT :RIGHT :LEFT :LEFT :LEFT :LEFT
  :RIGHT :LEFT :BACK :RIGHT :BACK :BACK :BACK :RIGHT :BACK :RIGHT :RIGHT :RIGHT
  :FRONT :FRONT :RIGHT :FRONT :LEFT :BACK))
((:WIN 10 5 10 5 :CLOSED :CLOSED :OPEN :CLOSED :CLOSED :CLOSED :OPEN)
 (:FRONT :FRONT :FRONT :FRONT :RIGHT :RIGHT :RIGHT :LEFT :LEFT :LEFT :LEFT
  :RIGHT :RIGHT :LEFT :LEFT :BACK :RIGHT :BACK :BACK :BACK :RIGHT :BACK :RIGHT
  :RIGHT :RIGHT :FRONT :FRONT :RIGHT :FRONT :LEFT :BACK))
((:WIN 10 5 10 5 :OPEN :CLOSED :OPEN :CLOSED :CLOSED :CLOSED :OPEN)
 (:FRONT :FRONT :FRONT :FRONT :RIGHT :RIGHT :RIGHT :LEFT :LEFT :LEFT :LEFT
  :RIGHT :RIGHT :LEFT :LEFT :RIGHT :LEFT :BACK :RIGHT :BACK :BACK :BACK :RIGHT
  :BACK :RIGHT :RIGHT :RIGHT :FRONT :FRONT :RIGHT :FRONT :LEFT :BACK))
Real time: 0.288899 sec.
Run time: 0.288956 sec.
Space: 6520144 Bytes
GC: 1, GC time: 0.009999 sec.
NIL
CL-USER&gt;
</pre>




<!--MENU-BEGIN-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<DIV CLASS="MENU"><HR><P>|
 <A HREF="../../../../../../toc.html">Contents</a> |
 <A HREF="../../../../../../index.html">Home</a> |
 <A HREF="../sedit/index.html.in">Previous</a> |
 <A HREF="../index.html.in">Up</a> |
 <A HREF="../rpsls/index.html.in">Next</a> |
</P><HR></DIV>
<!--MENU-END-->
<!--BOTTOM-BEGIN-->
<!-- This section is automatically generated by html-update, -->
<!-- from data in 'node.el'.    Please, do not edit it here. -->
<DIV CLASS="BOTTOM">
<hr><code><small>
 | <a href="http://www.informatimago.com//develop/lisp/com/informatimago/small-cl-pgms/playtomo-stonedge/index.html.in">Mirror on informatimago.com</a>
 | <a href="http://informatimago.free.fr/i//develop/lisp/com/informatimago/small-cl-pgms/playtomo-stonedge/index.html.in">Mirror on free.fr</a>
 | </small></code>

<BR><SMALL>
      <a href="http://validator.w3.org/check?uri=referer"><img
          src="http://www.w3.org/Icons/valid-html401"
          alt="Valid HTML 4.01!" height="31" width="88"></a>
   </SMALL>
</DIV>
<!--BOTTOM-END-->
</BODY>
</HTML>
ViewGit