Liking cljdoc? Tell your friends :D

advenjure.verbs


ask-ambiguousclj/s

(ask-ambiguous item-name items)
source

climbclj/s

source

climb-downclj/s

source

climb-upclj/s

source

closeclj/s

source

enterclj/s

source

exitclj/s

(exit game-state)

Close the game.

Close the game.
sourceraw docstring

goclj/s

(go game-state)
(go game-state direction)

Change the location if direction is valid.

Change the location if direction is valid.
sourceraw docstring

go-backclj/s

(go-back game-state)

Go to the previous room, if possible.

Go to the previous room, if possible.
sourceraw docstring

helpclj/s

source

inventoryclj/s

(inventory game-state)

Describe the inventory contents.

Describe the inventory contents.
sourceraw docstring

lookclj/s

(look game-state)

Look around (describe room) and enumerate available movement directions.

Look around (describe room) and enumerate available movement directions.
sourceraw docstring

look-atclj/s

source

look-insideclj/s

source

look-toclj/s

(look-to game-state)
(look-to game-state direction)

Describe what's in the given direction.

Describe what's in the given direction.
sourceraw docstring

make-compound-item-handlerclj/s

(make-compound-item-handler verb-name verb-kw)
(make-compound-item-handler verb-name
                            verb-kw
                            handler
                            &
                            {:keys [kw-required] :or {kw-required true}})

The same as above but adapted to compund verbs.

The same as above but adapted to compund verbs.
sourceraw docstring

make-item-handlerclj/s

(make-item-handler verb-name verb-kw)
(make-item-handler verb-name
                   verb-kw
                   handler
                   &
                   {:keys [kw-required] :or {kw-required true}})

Takes the verb name, the kw to look up at the item at the handler function, wraps the function with the common logic such as trying to find the item, executing pre/post conditions, etc.

Takes the verb name, the kw to look up at the item at the handler function,
wraps the function with the common logic such as trying to find the item,
executing pre/post conditions, etc.
sourceraw docstring

make-move-item-handlerclj/s

(make-move-item-handler verb-name verb-kw)
source

make-say-verbclj/s

(make-say-verb speech)
source

moveclj/s

source

noopclj/s

(noop kw)
source

openclj/s

source

open-withclj/s

source

pullclj/s

source

pushclj/s

source

read_clj/s

source

restoreclj/s

(restore game-state)

Restore a previous game state from file.

Restore a previous game state from file.
sourceraw docstring

saveclj/s

(save game-state)

Save the current game state to a file.

Save the current game state to a file.
sourceraw docstring

standclj/s

source

take-allclj/s

(take-all game-state)

Go through every item in the room that defines a value for :take, and attempt to take it.

Go through every item in the room that defines a value for :take, and attempt
to take it.
sourceraw docstring

take_clj/s

source

talkclj/s

source

unlockclj/s

source

use-withclj/s

source

use_clj/s

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close