Chess AI engine

Yoyo Marketplace

you must used GMS 2.3 or above

Features:

  • Pure GML. Not Used any extension or DLLs files.
  • Cross platforms(working on windows, mac , IOS, android , html5...).
  • Comments to explain every codes.
  • multi modes (Player vs Player,Player vs AI, AI vs AI).
  • Multiple difficulty AI (Easy,Medium,Hard).
  •  AI based minimax (algorithm alpha-beta)
  • The project included special moves(Castle king, En passent, promote pawn)
  • Checkmate and Check King
  • Working VM and YYC.
  • Support PGN and FEN.
  • Support polyglot file(.bin) and choose best move.

 Support Back Move and Forward Move.


Please test the assest before you buy it

if you have any question or Suggestions or found bug  please contact me.

Download

Download NowName your own price

Click download now to get access to the following files:

Chess AI windows test2.3.zip 2 MB
chessAI.apk 5 MB
Chess AI_SourceCode.yyz 1 MB
if you pay $19.99 USD or more

Comments

Log in with itch.io to leave a comment.

This looks pretty cool. I don't know if you are still active on here, but if yes, I want to ask if this can be customized. For example, is it easy to change the rules of how each piece moves or make the board have obstacles the pieces cannot move on?

Yes, you can do that with some codes changes

(1 edit) (+1)

Thanks for the demo app :) it was a very nice tool to pitch against my own engine, putting its speed and accuracy to the test. In case you’re curious about the results:

I’ve won 100% of the time in about 25-30 full moves. Picking either white over black or vice versa did not make a difference for the outcome. On average, your engine started being at a serious disadvantage after about 12-15 moves.

This was playing on hard. I didn’t even bother touching medium, let alone easy (I imagine those would be a complete pushover).

I do agree with the review from Justin B on the YoYo marketplace however: as nice as it appears, especially for testing purposes, this engine is hardly worth half its asking price… and even that might still be over the top, depending on whether or not the review’s claims (i.e. your code lacking comments and being a big mess) are justified.

All in all: nice effort, but way too expensive. I like that it feels pretty speedy, is written in pure GML and supports polyglot opening books. Alas, the flaws far outweigh these technical benefits.

That being said - keep at it, maybe reduce the price (or put it on sale for a while) to give a better purchase incentive, and once the engine has improved enough… I’ll be looking forward to a rematch :)

A couple of notes for your to-do-list (if you have any):

  1. Your AI rarely (if ever) castles. Instead I’ve seen it move the king multiple times on its own, throwing away castling ability altogether very early on in the game.

  2. Especially during the mid and endgame stages, your AI seems to be pretty much clueless about basic king safety. I don’t know if it’s just falling into a “panic mode” or what, but I’ve seen it blindly blunder into checkmates a bunch of times, even if there were still other (better) legal moves left.

  3. Sometimes your AI appears to follow a specific strategy (e.g. attempting to go after a certain piece of higher value or something), but is then immediately stopped in its tracks by a pawn capturing the attacking piece. It almost seems like your AI doesn’t see pawns as potential threats at all.

Off the top of my head, that’s all. :)

Cheers,
~Thraxx

...

Enjoy...

Nice :) it gave me a tough time on Medium, though my trash 800 rated self was able to get the win with a queen sac. How strong is it at max difficulty?

You can test it ....

enjoy:)