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

Report as inappropriate.

classicjimmy
classicjimmy presents ...

2014/11/5

Chess

My first major project in Greenfoot (started Greenfoot/Java 3 months ago) so I am quite satisfied with it. It currently supports all moves except "En Passant". I was planning to implement an AI but it seems incredibly hard with the current code structure. In the future when I know more stuff I will try to make a simpler version with less repetition of code and where I use arrays instead of lists. I hope it will be easier to implement an AI then.

Controls:

Move a piece by dragging it to the desired tile.
Valid tiles are highlighted in grey.
For Castling press Spacebar.

4407 views / 1087 in the last 7 days

Tags: mouse game demo player chess vs

open in greenfoot
Your browser does not support the canvas tag.

No Comments

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

Who likes this?

No votes yet.