72cf6e0bad36

cl-ggp: Update site.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 16 Sep 2016 14:22:15 +0000
parents 91ab6c4616be
children 96b3cc9f9e13
branches/tags (none)
files cl-ggp/changelog/index.html cl-ggp/reference/index.html

Changes

--- a/cl-ggp/changelog/index.html	Thu Sep 08 13:58:17 2016 +0000
+++ b/cl-ggp/changelog/index.html	Fri Sep 16 14:22:15 2016 +0000
@@ -15,8 +15,15 @@
 <h1 id="changelog"><a href="">Changelog</a></h1><p>Here's the list of changes in each released version.</p>
 <div class="toc">
 <ul>
+<li><a href="#pending">Pending</a></li>
 <li><a href="#v001">v0.0.1</a></li>
 </ul></div>
+<h2 id="pending">Pending</h2>
+<ul>
+<li><code>start-player</code> now takes <code>:server</code> and <code>:use-thread</code> options which it passes
+  along to Clack.</li>
+<li>Added rudimentary support for writing GDL-II players.</li>
+</ul>
 <h2 id="v001">v0.0.1</h2>
 <p>Initial alpha version.  Things are going to break a lot.  Don't use this.</p>
                 </div>
--- a/cl-ggp/reference/index.html	Thu Sep 08 13:58:17 2016 +0000
+++ b/cl-ggp/reference/index.html	Fri Sep 16 14:22:15 2016 +0000
@@ -36,6 +36,7 @@
 <li><a href="#player-start-game-generic-function">PLAYER-START-GAME (generic function)</a></li>
 <li><a href="#player-stop-game-generic-function">PLAYER-STOP-GAME (generic function)</a></li>
 <li><a href="#player-update-game-generic-function">PLAYER-UPDATE-GAME (generic function)</a></li>
+<li><a href="#player-update-game-ii-generic-function">PLAYER-UPDATE-GAME-II (generic function)</a></li>
 <li><a href="#start-player-function">START-PLAYER (function)</a></li>
 </ul>
 </li>
@@ -152,12 +153,21 @@
 <p>Called after all players have made their moves.</p>
 <p><code>moves</code> will be a list of <code>(role . move)</code> conses representing moves made by
   each player last turn.</p>
+<h3 id="player-update-game-ii-generic-function"><code>PLAYER-UPDATE-GAME-II</code> (generic function)</h3>
+<div class="codehilite"><pre>(PLAYER-UPDATE-GAME-II PLAYER MOVE PERCEPTS)
+</pre></div>
+
+
+<p>Called after all players have made their moves in a GDL-II game.</p>
+<p><code>move</code> will be the move you played last turn.</p>
+<p><code>percepts</code> are all the percepts you see for the round.</p>
 <h3 id="start-player-function"><code>START-PLAYER</code> (function)</h3>
-<div class="codehilite"><pre>(START-PLAYER PLAYER)
+<div class="codehilite"><pre>(START-PLAYER PLAYER &amp;KEY (SERVER :HUNCHENTOOT) (USE-THREAD T))
 </pre></div>
 
 
 <p>Start the HTTP server for the given player.</p>
+<p>The <code>:server</code> and <code>:use-thread</code> options will be passed along to Clack.</p>
 <h2 id="package-ggp-rules">Package <code>GGP-RULES</code></h2>
 <p>Symbol storage package.</p>
 <p>The <code>GGP-RULES</code> package is used to hold all the symbols in the GDL game