navbar-top.gif
btn_spacer.gifHomeTopicsLatestRandomAboutFAQsParticipateAuthoring Areabtn_spacer.gif

Chess

Basic chess game with optional board editing and history reviewing.
The Demonstration lets you only make legal moves with the following exceptions:
You can move the king into check and you can castle out of check and through check.

(87 lines omitted)

A small black marker at the left border shows whose turn it is.
To make a move, first click the from-position (it will be marked) and then the to-position. If you click a from-position but change your mind and want to move a different piece, click an illegal target position.
Once you click a from-position, all target-positions will be marked green. You can switch this feature off.
To promote a pawn, select the piece you want from the associated popup menu first.
The last move by both sides is displayed at the bottom of the screen.
You can edit the board at any stage in the game by using the editing menu.
Select a piece type and then the board to add a piece.
Select the "castling options" and then click a rook to switch a castling option on (green marker) or off (red marker).
Select the "delete" option and then click a piece to remove it from the board.
Select the "clear" option and then click the board anywhere to empty it.
Select the "reset" option and then click the board anywhere to recreate the original setup.
Select the "next player" option and then the board anywhere to change whose turn it is. This option is only available as long as no moves are executed. The option can be used for setting up chess problems with Black to move, for example.
You can look at all previous moves simply by adjusting the history slider.
Free Download: Mathematica Player--Runs all Demonstrations & more


Share & Bookmark This Demonstration


Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. We will keep your information private. We will not give it to any third party.
Privacy Policy »

©  2008 The Wolfram Demonstrations Project & Contributors    Wolfram Research    Site Index    Terms of Use    Privacy Policy    RSS    Atom