simplify specs

This commit is contained in:
Gnieark 2016-05-31 09:53:53 +02:00
parent 567dccc83e
commit 7d166a1b78

View File

@ -54,19 +54,19 @@
{"game-id":"1126","action":"init","game":"tictactoe","players":2,"board":"","player-index":0}
</pre>
<pre class="botResponse">
{"name":"moul-tictactoe","play":null,"error":null}
{"name":"moul-tictactoe"}
</pre>
<pre class="arrenaMessage">
{"game-id":"1126","action":"init","game":"tictactoe","players":2,"board":"","player-index":1}
</pre>
<pre class="botResponse">
{"name":"moul-tictactoe","play":null,"error":null}
{"name":"moul-tictactoe"}
</pre>
<pre class="arrenaMessage">
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"","0-1":"","0-2":"","1-0":"","1-1":"","1-2":"","2-0":"","2-1":"","2-2":""},"you":"X","player-index":0}
</pre>
<pre class="botResponse">
{"name":"","play":"0-1","error":null}
{"play":"0-1"}
</pre>
<pre>
Player 1 joue en 0-1 la nouvelle grille est
@ -77,9 +77,9 @@ X
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"","0-1":"X","0-2":"","1-0":"","1-1":"","1-2":"","2-0":"","2-1":"","2-2":""},"you":"O","player-index":1}
</pre>
<pre class="botResponse">
{"name":"","play":"1-1","error":null}
{"play":"1-1"}
</pre>
<pre>https://github.com/moul/bolosseum
<pre>
Player 2 joue en 1-1 la nouvelle grille est
X
O
@ -89,7 +89,7 @@ O
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"","0-1":"X","0-2":"","1-0":"","1-1":"O","1-2":"","2-0":"","2-1":"","2-2":""},"you":"X","player-index":0}
</pre>
<pre class="botResponse">
{"name":"","play":"0-0","error":null}
{"play":"0-0"}
</pre>
<pre>
Player 1 joue en 0-0 la nouvelle grille est
@ -101,7 +101,7 @@ O
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"X","0-1":"X","0-2":"","1-0":"","1-1":"O","1-2":"","2-0":"","2-1":"","2-2":""},"you":"O","player-index":1}
</pre>
<pre class="botResponse">
{"name":"","play":"0-2","error":null}
{"play":"0-2"}
</pre>
<pre>
Player 2 joue en 0-2 la nouvelle grille est
@ -113,7 +113,7 @@ O
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"X","0-1":"X","0-2":"O","1-0":"","1-1":"O","1-2":"","2-0":"","2-1":"","2-2":""},"you":"X","player-index":0}
</pre>
<pre class="botResponse">
{"name":"","play":"2-0","error":null}
{"play":"2-0"}
</pre>
<pre>
Player 1 joue en 2-0 la nouvelle grille est
@ -126,7 +126,7 @@ X
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"X","0-1":"X","0-2":"O","1-0":"","1-1":"O","1-2":"","2-0":"X","2-1":"","2-2":""},"you":"O","player-index":1}
</pre>
<pre class="botResponse">
{"name":"","play":"1-0","error":null}
{"play":"1-0"}
</pre>
<pre>
Player 2 joue en 1-0 la nouvelle grille est
@ -138,7 +138,7 @@ X
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"X","0-1":"X","0-2":"O","1-0":"O","1-1":"O","1-2":"","2-0":"X","2-1":"","2-2":""},"you":"X","player-index":0}
</pre>
<pre class="botResponse">
{"name":"","play":"1-2","error":null}
{"play":"1-2"}
</pre>
<pre>
Player 1 joue en 1-2 la nouvelle grille est
@ -151,7 +151,7 @@ X
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"X","0-1":"X","0-2":"O","1-0":"O","1-1":"O","1-2":"X","2-0":"X","2-1":"","2-2":""},"you":"O","player-index":1}
</pre>
<pre class="botResponse">
{"name":"","play":"2-1","error":null}
{"play":"2-1"}
</pre>
<pre>
Player 2 joue en 2-1 la nouvelle grille est
@ -163,7 +163,7 @@ X O
{"game-id":"1126","action":"play-turn","game":"tictactoe","players":2,"board":{"0-0":"X","0-1":"X","0-2":"O","1-0":"O","1-1":"O","1-2":"X","2-0":"X","2-1":"O","2-2":""},"you":"X","player-index":0}
</pre>
<pre class="botResponse">
{"name":"","play":"2-2","error":null}
{"play":"2-2"}
</pre>
<pre>
Player 1 joue en 2-2 la nouvelle grille est
@ -179,6 +179,6 @@ Match nul
<p>En cours de développement</p>
<h3>Bolosseum</h3>
<p>Vous trouverez des outils en ligne de commande pour tester et déboguer votre bot sur <a href="https://github.com/moul/bolosseum">le projet github de @Manfred Bolosseum</a></p>
<p>Vous trouverez des outils en ligne de commande pour tester et déboguer votre bot sur <a href="https://github.com/moul/bolosseum">le projet github de @moul</a></p>
<h2>Faire entrer votre bot dans cette arène</h2>