Removed..

Removed…

Nice work I like it :slight_smile:

Some considerations:

  • Check is not being detected and the side which is under check allowed to do any move
  • When pawn reach the other side of board, it should be changed to the figure I like

Removed…

Well I also think in buying a server :stuck_out_tongue:

University provides me one now, but it’s 50% uptime over the last 2-3 weeks … I was going to launch my game on Friday, but the server is down :*(

Removed…

If you get a chance then try your checker program against mine. I like your board much better than mine but sadly my comp crashed when trying to run the programs on your web page so I didn’t get to play it.

Mike

Removed…

Just a note, you could use MiniMax algorithm for AI programming(for checkers at list, for chess it’s quite difficult), which is quite easy and fast to implement, all you need is to do a lot of test in the end, to see if it’s working correctly.

If you will think on implementation I would advice you implementing MiniMax with AB Cutoff and some limit for tree expending, since there are too many possible moves.

It wasn’t Java that crashed it was the whole machine. I was scrolling up and down your web page that displayed those nice boards and was trying to work out how to get them to play. I kept clicking the pieces on the checkers board and then my mouse disappeared, followed shortly afterwards by everything else. I don’t reboot my machine often so it could just be coincidence. It’s XP SP3 running firefox 3.6.3 - I have no graphics card other than the on-board version.

Actually the minmax (AB) is quite straightforward in chess as each side just makes a single move each time while in checkers you can have multiple jumps with multiple recursion points which is just a bit more difficult. The move generation is way more difficult in chess though and the board evaluation is a nightmare if you want it to play at even a reasonable level. There was a book out called “One jump ahead” which tells the story of writing a world champ checkers program - it’s quite interesting if that’s your bent.

@NewOnJava - Getting any program to play board games well is quite difficult but you’ll learn a lot in the process. I’d suggest trying with Othello first as it’s easier to get a program to beat a human in this game. There’s definitely a sense of achievement when it beats you for the first time. But when it beats you every time it starts getting depressing :slight_smile:

Removed…

Removed…