package.lisp @ d819a1f69da9

Add `read-gdl-from-file`
author Steve Losh <steve@stevelosh.com>
date Fri, 13 Jan 2017 16:43:52 +0000
parents 6a94205a7e4f
children a07961309f28
(defpackage :ggp
  (:use :cl :optima)
  (:import-from :optima :match)
  (:export
    :ggp-player

    :player-start-game
    :player-update-game
    :player-update-game-ii ; lol
    :player-select-move
    :player-stop-game

    :player-name
    :player-port

    :start-player
    :kill-player

    :read-gdl-from-file
    )
  (:documentation "The main GGP package.")
  )

(defpackage :ggp-rules
  (:import-from :cl :nil) ; fuckin lol
  (:documentation
   "Symbol storage package.

  The `GGP-RULES` package is used to hold all the symbols in the GDL game
  descriptions, as well as some special symbols in the GGP protocol.  It is
  cleared between game runs to avoid a buildup of garbage symbols (especially
  when GDL scrambling is turned on), though certain special symbols are allowed
  to survive the clearing.

  This is ugly.  I'm sorry.  I'm open to suggestions on better ways to do this.

  "))