9853

Chess

Basic chess game with optional board editing and history reviewing.
You can only make legal moves.

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

A small black marker on 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 the same position again.
The "show moves" checkbox displays all current legal moves as green arrows, assuming no piece has been selected yet.
Once you click a from-position, all target-positions will be marked green. You can switch this feature off with the "show targets" checkbox.
The options "show moves" and "show targets" are temporarily inactivated while looking at historic moves.
Set the option "random Black" to allow the Black player to make random moves. After your move for White, click the board anywhere to cause Black's random move.
Similarly the "random White" option creates random moves for White.
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 look at all previous moves simply by adjusting the history slider. No chess moves can be made while historic moves are being viewed.
The Editing Menu
You can edit the board at any stage in the game by using the editing menu.
Select a piece type and then click the board to add such a piece.
Select the "castling options" and then click a rook to switch a castling option on or off (green or 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. The system will automatically go into "play" mode.
Select the "next player" option and then click the board anywhere to change whose turn it is. This option is only available as long as no moves have been executed. The option can be used for setting up chess problems with Black to move, for example.

RELATED LINKS

    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.









 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+