This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

PiRocks
PiRocks presents ...

2009/5/16

Checkers

MAJOR UPDATES IN 2010:
1. commented code :D
2.ai doesn't crash - game is now fully functional!

A game of checkers where you play against the computer.
You play with the standard rules of Checkers. A king is
marked with a black dot. You play as the red team and
make the first move. The opponent is an AI.

Instructions:
To make your move:
1. Click on the piece you wish to move.
2. Now that it has turned turquoise, click
on the square you wish to move to, or on
the piece you wish to jump.
BUGS:
1. Double-Jump only works sometimes.

11689 views / 30 in the last 7 days

5 votes | 0 in the last 7 days

Tags: mouse game awesome with-source board ai checkers artificial intelligence

open in greenfoot
Your browser does not support the canvas tag.
Very nice job, although i do see it making sacrifices when none are needed, and not taking pieces when it is safe. The double jump bug should prove tricky to fix, good luck and keep up the good work!
mfluv108mfluv108

2009/5/18

this guy is in my class hi its molly anyways its really fun but sorta easy to beat. however, great concepts I would have never thought of!
PiRocksPiRocks

2009/5/21

1) I have tried implementing a double jump method but for some reason it doesn't work all the time. 2)Sometimes the AI freezes because it there aren't any moves left for the computer to do that it thinks are safe, I've tried making a mechanism that allows the computer to register when there aren't any more available moves. For some reason the method doesn't work right so the computer thinks there aren't any moves left and does a stupid move when there actually are some safe moves. Other times the computer thinks there are moves left when there actually isn't any and causes it to freeze.
PiRocksPiRocks

2010/9/30

Picking up this project again, will probably see a few updates as soon as I figure out what my code does... This project is before I started commenting my code with a passion (at least in critical areas). :D
A new version of this scenario was uploaded on Fri Oct 01 01:47:23 UTC 2010
A new version of this scenario was uploaded on Fri Oct 01 01:49:25 UTC 2010
A new version of this scenario was uploaded on Fri Oct 01 19:59:42 UTC 2010
A new version of this scenario was uploaded on Thu Dec 30 17:16:24 UTC 2010 AI NO LONGER CRASHES!!!!!!!!!
minimeminime

2010/12/31

Great game
moorezamooreza

2011/2/8

won't let me jumpover the blue

See all comments

Want to leave a comment? You must first log in.

Who likes this?

MatheMagician kitty mjrb4 polle bmyers