Comment by cowboy_henk

1 day ago

There is some polish with Claude over the past few weeks, but we wrote the engine over 10 years ago actually. Each piece moves using a modified version of A* to simply find the shortest path to Prince Chazz (the piece controlled by the player).

You probably don’t need A*, do you actually want the AI to move optimally? That would infer the game ends sooner. You could probably just use greedy heuristics

Your passkey login doesn't even work. I think the nature of Claude usage here goes a bit beyond "some polish".

(For reference, signing back in with a passkey seems to be impossible even after successfully creating an account with one. Every time you sign in it attempts to save a new passkey right after asking for the old one)

  • Admittedly some of the auxiliary features were made with Claude's help, but I'd argue that's not what makes this interesting. The game (core loop, sprites, etc) were all made by hand.

    The passkey feedback is good though, I see a few more people have had issues with it. I'll have a look at fixing it!

    • Isn't the audio Chess.com's audio? And performance is _really_ harsh on Firefox, this runs at like 10 fps for some reason.