Checkers


I originally wrote this in C++, as an AI program in college. Now I have ported the code to Java.

You will be playing against the computer. The computer will be on top, you on the bottom. The computer will go first. Choose the level you want to play at and start a game by pressing the Easy, Medium, or Difficult button below.

How to move: For a non-jump move, click once on the piece you wish to move, and then click again on the square you wish to move to. Do not "drag" the piece you are moving. For a single jump, click on the piece you wish to move, and double click on the square you are moving to (don't click on the square that you are jumping over). For a double jump, click on your piece, click once on the first square of the jump, and then double click on the final square of the jump. For triple and higher jumps, follow the same pattern.

Rules: I'm not going to go over all the rules of checkers, but it is important to point out that there are two popular sets of rules when it comes to jumping. The original game of checkers stated that when you had the ability to make one or more jumps on your move, you must perform one of those jumps - you cannot just move a piece. However the more popular set of rules in the United States these days is that you don't have to jump (unless that is the only move you can make). This computer program follows the later set of rules. Note that the strategy for checkers is completey changed just by altering the rule about jumping. (My personal option is that the original rules are better, and at some point I may enhance this program to be able to use the original rules also.)

This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Advanced Configuration:
example: t-c554r-h000n
This means: top goes first,
top is computer with 5 lookAhead, 5 jump lookAhead, static eval #4, do prune report ('n' instead of 'r' means no report)
bottom is human - for a human the other parameters are ignored

You can also paste a code that you saved from a previous game here to start where you left off.

Valid XHTML 1.0!