Newer
Older
naledi / package.lisp
;;;;
;;;; Naledi ya Africa ("Star of Africa") is an ncurses-based survival game
;;;; set in Africa.
;;;;
;;;; This is file defines the naledi-ya-africa package.
;;;;
;;;; (c) 2018 Daniel Vedder, MIT license
;;;;

(defpackage :naledi-ya-africa
	(:documentation "A multiplayer survival game set in Africa.")
	(:nicknames :naledi :nya)
	(:use :common-lisp)
	;;XXX export anything else?
	(:export
		;; standard game function
		start-game
		;; server functions
		start-server
		runningp
		age-of-the-world
		terminate
		init-world
		;; client functions - use with caution!
		;; XXX security risk?
		connect-server
		query-server
		disconnect
		;; global variables
		*host*
		*port*))

;;set debug level during development
(declaim (optimize (debug 3)))

;;convenience function
(defun start () (nya:start-game))