All pastes #979740 Raw Edit

Stuff

public text v1 · immutable
·published 2008-04-10 15:52 UTC
rendered paste body
When a new board is created, the following items are created:

Box (contains all tokens which are out of play, including those created but not used yet)
Spaces (A space on the board that can have tokens, statuses, counters, and a color)
       The spaces are given as <letter><number> (like A7), giving the row first and the column second
Tokens (tokens can have statuses, counters, and a color, and can be placed on any space on the board or returned to the box)
       Tokens are unique by the first letter of their name, or the “symbol.” They can be referred to by symbol, full name, or any substring in between. (For example, a token Foo can be referred to by F, Fo, or Foo.) Token names are case sensitive.

!newboard <rows> [<columns>]
       Initializes the gameboard with the given number of <rows> and <columns>. If a column count is not given, the board is made square. The maximum board size is 26 by 26.
!delboard
       Eliminates the current gameboard and closes all board commands.
!clearboard tokens
       Removes all tokens from the board, clearing their statuses and counters.
!clearboard status
       Removes all statuses and counters from every space and token on the board.
!voidspace <space>
       Removes all tokens, statuses, and counters from the space. The tokens’ statuses and counters are cleared.

=======================

!board
       Draws the board and the tokens on it, giving the symbol of the token on each space or the number of tokens on the space (if it has more than one). If a space has no tokens, a dot is displayed on that space. All spaces and tokens are displayed in their color. Tokens are silver if they have no color.
!?board
       Displays a condensed version of the board on one line, showing only things which vary from the default board configuration.
!showspaces
       Draws the board and the statuses of the spaces, giving the first letter of the status of each space or the number of statuses on the space (if it has more than one).
!countspaces
       Draws the board, giving the number of counters in each space. Zeros are in gray, positive values are in green, and negative values are in red.
!show <space>
       Shows the tokens, statuses, counters, and color of the given space.
!show <token>
       Shows the statuses, counters, and color of the given token.
!box
       Displays the names of all tokens in the box.

=======================

!token <token>
       Creates a token with the given name and adds it to the Box. Two tokens may not start with the same letter. Case-sensitive.
!deltoken <token>
       Deletes the given token.
!rename <token> <newname>
       Renames the given token to the newer name.

=======================

!place <token> <space>
       Places the given token on the given space on the board.
!move <token> <direction> [<distance>]
       Moves the token in the given direction (N, S, E, W, NE, SE, NW, SW) for the given distance. If the distance is not specified, the token is moved by one space.
!remove <token>
       Puts the given token back into the Box.

=======================

!addstat <space|token> <status>
       Adds the given word to the given space or token’s list of statuses.
!delstat <space|token> <status>
       Removes the given word from the given space or token’s list of statuses
!counter <space|token> <number>
       Adds the given number of counters to the given space or token. Can be negative.
!color <space|token> <color>
       Sets the color of the given space or token. Possible colors are: white, black, navy, green, red, brown, purple, orange, yellow, lime, teal, cyan, blue, magenta, gray, or silver. Silver is the default color for tokens.
!delcolor <space|token>
       Deletes the color for the given space or token. (For a token, effectively sets the color to silver.)
!wipe <space|token>
       Resets the given space or token to zero counters.
!refresh <space|token>
       Removes statuses, counters, and color from the given space or token.