Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Chess AI library?  (Read 5842 times)
0 Members and 1 Guest are viewing this topic.
Offline appel

JGO Wizard

Medals: 80
Projects: 4

I always win!

« Posted 2007-09-13 16:33:35 »


I need some simple chess library, that keeps track of the board, pieces, what movement is illegal and not, tell me if there is check, or check-mate. And also primarily allow for a Computer AI opponent with some simple rules (nothing too fancy is needed).

Anything like that floating around on the internets?
Offline meshounah

Senior Newbie

« Reply #1 - Posted 2007-11-20 20:59:29 »

I googled and did not find one but make it yourself  Wink

P.S potential employers will love you.
Offline thijs

Junior Devvie

Lava games rock!

« Reply #2 - Posted 2007-11-20 21:49:03 »

Well I made a generic boardgame library years ago when I was still in uni...

It has all the components you mention, I didnt implement chess using it, but a variant called Quinta (which is actually a pretty cool game).. It's kinda like chess, but smaller (board size and less pieces), but has some additional fancy rules which make it quite interesting.

To implement chess using the lib you'd only need to implement the chess gamerules, the rest is taken care of. Unfortunatly I only have a WIP version where I was optimizing the AI algorithm (alpha/beta search) further, but never got around finishing that (but shouldnt be too hard to finish).  Also all code comments are in Dutch as I was writing it for school.

Still if you're interested let me know, and I'll see what I can polish up and put it online....

<a href="">3DzzD!</a>
<a href="">Arcazoid!</a>
Pages: [1]
  ignore  |  Print  

EgonOlsen (77 views)
2018-06-10 19:43:48

EgonOlsen (57 views)
2018-06-10 19:43:44

EgonOlsen (77 views)
2018-06-10 19:43:20

DesertCoockie (259 views)
2018-05-13 18:23:11

nelsongames (157 views)
2018-04-24 18:15:36

nelsongames (156 views)
2018-04-24 18:14:32

ivj94 (897 views)
2018-03-24 14:47:39

ivj94 (161 views)
2018-03-24 14:46:31

ivj94 (810 views)
2018-03-24 14:43:53

Solater (174 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!