navbar-top.gif
btn_spacer.gifHomeTopicsLatestRandomAboutFAQsParticipateAuthoring Areabtn_spacer.gif

The Cram Game

CRAM is an impartial two-player game. The board consists of a rectangle ruled into squares with some random squares removed. This Demonstration uses a 4×4 board with 4 black squares removed. Players (you and the computer) take turns placing dominoes on the empty (white) squares; dominoes can be placed either vertically or horizontally. The last player to place a domino wins. The first player's dominoes are colored blue and the second player's dominoes red to make it easier to follow the play. If it is possible for you to win, you will be so informed before you start.
To play, click in the area between two squares; a pale highlight indicates where your domino will be placed.


The theory of two-person impartial games along with its implementation in Mathematica is covered in the book by Robert Cowen and John Kennedy, Discovering Mathematics with Mathematica, which is currently being revised to be compatible with Mathematica 6. For more on programming two-person impartial games in Mathematica see http://qcpages.qc.edu/~cowen/
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