Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Chess.muf

From Tapestries MUCK

(Difference between revisions)
Jump to: navigation, search

Revision as of 22:34, 29 April 2007

chess.muf(#2150FLM3) is a program which operates a virtual chessboard. It does not keep track of anything except the board itself, nor does it validate moves.

Usage

  • Blank -- Takes one parameter (square) and deletes whatever piece is there.
  • Clear -- Clears entire board of pieces.
  • Display -- Display entire chessboard
  • Help -- Give this message
  • Move -- Takes two parameters (squares). Moves one to the other, erasing the contents of the target. Empty squares may be moved.
  • Place -- Takes two parameters (1 piece, 1 square) and places the piece on the square.
  • Reset -- Reset board to standard chess starting position
  • Swap -- Takes two parameters (squares) and swaps the contents.

Squares are of format a1, b8, etc.... Pieces are P, N, B, R, Q, K, or lowercase for the black player's pieces.

Setup

Setup is simply creating an action with the names of the commands:

@action blank;clear;display;help;move;place;reset;swap=here,#2150

Credits

This chessboard was written entirely by Jiro. (From the help.)

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox