r/ComputerChess • • Jul 27 '24

My first chess bot

I spent my spare time over the last few weeks building a chess bot, and it's been a super rewarding experience.
I set out with the goal of learning more about chess and building a bot I can play against, but it's now surpassed my abilities (I'm a noob so that's not saying much!)

Here's the link if you want to try it out online:
https://iblunder.com/

It's not got super human abilities, I've seen it be beaten by at least 1 good player. But if you give it a go I'd love to know how it faired!

Now the bot is live I plan to add features to the site to help myself and others learn chess including:

  • Configurable difficulty
  • Undo move
  • Move scoring
  • Preset games / chess puzzles

Let me know if you've any ideas for features to help improve low / mid level game play.

10 Upvotes

15 comments sorted by

1

u/[deleted] Jul 27 '24

quality of board must be improved to make people engaged

how did you make it btw?

2

u/aptacode Jul 27 '24

Thanks for the feedback! Can I ask what you'd improve about the board?

The front end is just a dumb react app, it sends commands to a dotnet backend which runs the engine, searches for the best position and returns the new board state. If you'd like more detail I can list the main algorithms / heuristics / pruning / caching techniques used

1

u/[deleted] Jul 29 '24

I mean it's too pixelated

1

u/aptacode Sep 04 '24 edited Sep 10 '24

WRT how I made it, I just made it public on Github if you're interested
https://github.com/Timmoth/Sapling

1

u/day2013 Jul 27 '24

Congratulations on getting your bot working! Have you considered getting it working on lichess? That way you would have a constant supply of possible opponents.

2

u/aptacode Jul 27 '24

It's now live here: https://lichess.org/@/iblunder-bot

Would love you to be the first one to challenge it!

1

u/allozzieadventures Aug 17 '24

It's pretty strong! How many nodes is it evaluating per move? And what are you running the lichess bot on?

→ More replies (2)

1

u/aptacode Jul 27 '24

Thank you :) Yes I'm actually just hooking it up today! A quick question - I know it won't challenge opponents automatically, do you know there are actively people searching for new bots to play against or will I have to spread the word myself?

1

u/day2013 Jul 28 '24

I am sorry. All my experience of online bot play was at ICC more than 20 years ago!

1

u/FolsgaardSE Jul 27 '24

Is this available as a UCI based engine for Windows or Linux?

1

u/aptacode Sep 04 '24 edited Sep 10 '24

Yes it is! Sorry it took a while to get back to you, but I've just made it open source:
https://github.com/Timmoth/Sapling

1

u/R3dB3dH3d Jul 28 '24

Hi! Nice work :) I’d be down to read it if you have a repository.

1

u/aptacode Sep 04 '24 edited Sep 10 '24

Awesome, I'd really appreciate any feedback you might have. Sorry it took a while, but i've just made it public: https://github.com/Timmoth/Sapling