1d5f58a6efc2
cl-ggp: Update site.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Fri, 10 Feb 2017 16:26:22 +0000 |
parents | 6a37936a2df4 |
children | 3d730f8497b4 |
branches/tags | (none) |
files | cl-ggp/overview/index.html |
Changes
--- a/cl-ggp/overview/index.html Fri Feb 10 16:23:40 2017 +0000 +++ b/cl-ggp/overview/index.html Fri Feb 10 16:26:22 2017 +0000 @@ -59,7 +59,7 @@ <p>At a minimum you <strong>must</strong> implement <code>player-select-move</code>. The others are optional and will default to doing nothing.</p> <h4 id="player-start-game">player-start-game</h4> -<div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defmethod</span> <span class="nv">player-start-game</span> <span class="p">((</span><span class="nv">player</span> <span class="nv">YOUR-PLAYER</span><span class="p">)</span> <span class="nv">rules</span> <span class="nv">role</span> <span class="nv">timeout</span><span class="p">)</span> +<div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defmethod</span> <span class="nv">ggp:player-start-game</span> <span class="p">((</span><span class="nv">player</span> <span class="nv">YOUR-PLAYER</span><span class="p">)</span> <span class="nv">rules</span> <span class="nv">role</span> <span class="nv">timeout</span><span class="p">)</span> <span class="o">...</span><span class="p">)</span> </pre></div> @@ -71,7 +71,7 @@ <p><code>timeout</code> is the timestamp that the response to the server is due by, in internal-real time units (more on this later).</p> <h4 id="player-update-game">player-update-game</h4> -<div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defmethod</span> <span class="nv">player-update-game</span> <span class="p">((</span><span class="nv">player</span> <span class="nv">YOUR-PLAYER</span><span class="p">)</span> <span class="nv">moves</span><span class="p">)</span> +<div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defmethod</span> <span class="nv">ggp:player-update-game</span> <span class="p">((</span><span class="nv">player</span> <span class="nv">YOUR-PLAYER</span><span class="p">)</span> <span class="nv">moves</span><span class="p">)</span> <span class="o">...</span><span class="p">)</span> </pre></div> @@ -81,7 +81,7 @@ <p><code>moves</code> will be an association list of <code>(role . move)</code> conses representing the moves made by each player last turn.</p> <h4 id="player-select-move">player-select-move</h4> -<div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defmethod</span> <span class="nv">player-select-move</span> <span class="p">((</span><span class="nv">player</span> <span class="nv">YOUR-PLAYER</span><span class="p">)</span> <span class="nv">timeout</span><span class="p">)</span> +<div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defmethod</span> <span class="nv">ggp:player-select-move</span> <span class="p">((</span><span class="nv">player</span> <span class="nv">YOUR-PLAYER</span><span class="p">)</span> <span class="nv">timeout</span><span class="p">)</span> <span class="o">...</span><span class="p">)</span> </pre></div> @@ -91,7 +91,7 @@ <p><code>timeout</code> is the timestamp that the response to the server is due by, in internal-real time units (more on this later).</p> <h4 id="player-stop-game">player-stop-game</h4> -<div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defmethod</span> <span class="nv">player-stop-game</span> <span class="p">((</span><span class="nv">player</span> <span class="nv">YOUR-PLAYER</span><span class="p">))</span> +<div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defmethod</span> <span class="nv">ggp:player-stop-game</span> <span class="p">((</span><span class="nv">player</span> <span class="nv">YOUR-PLAYER</span><span class="p">))</span> <span class="o">...</span><span class="p">)</span> </pre></div>