@hinterwaeldler Oh, haha, just remembered, it will never respond mid-thread unless it's an existing game. D'oh!
@DialMforMara You can play from anywhere! (In fact, there are no accounts on castling.club, it’s kind of an instance with just the bot.)
@devurandom Turns out, it actually did already! But for fun, I just now taught it unicode, so you can use ♘ too. 😁
@kosinus oh, cool!
to be honest, i'm absolutely terrible at chess (the best i've ever done is beating an nes chess game at its lowest difficulty).
but it is interesting seeing the fediverse being used in interesting ways like that!
@devurandom So am I! And what I learned (in building this) was more rules than strategy. 😄
The point was definitely to learn about federation and ActivityPub.
@lulucybrelu j'ai vu ouais c'est justement ce qui m'a donné envie de continuer à apprendre sur Les Internets contre des bots. et du coup tu parlais de lichess c'est celui où j'ai fait joujou un peu et que j'm'ai fait défoncé la tronche x)
@ary j'aime bien faire des parties en mode correspondance, ça laisse le temps de jouer en mode chill mais psychologiquement je trouve ça plus agréable que de jouer contre l'ordi x)
Well, thank you @kosinus. ActivityPub + Chess looks like the perfect combination to destabilize my busy life. Released in August, that won't help either.
😜 This was my way to say Big Thank You and congratulations for this brilliant idea. Although it is true that I will have to keep it at bay!
@grainloom Forgive me, I don't know what SSB is! (Except for Smash Bros? That'd be hilarious. Like old Batman cartoons, but over toots: *KAPOW*BAM*CRASH*) 😄
@pea Sorry about that! It appears Pleroma does things somewhat differently.
I made some changes just now. Could you try again?
@CoronaCoreanici Haha, I don't know! I've never played Go myself.
I use a library made by someone else for the chess ruleset: https://github.com/jhlywa/chess.js
Other than that, castling.club implements all the fediverse stuff, message formatting, drawing the board, and the detail pages you see at castling.club itself.
@kosinus good job making this 💜
only thing, the chessboards seem to be displayed sideways? (including on your screenshot) - the bottom right square should be light, not dark
@kosinus predicting people just using the highest A.I. setting from Windows Chess against each other.
@alice I wouldn’t mind if someone wrote a bot you could challenge. Though two fully automated players against each other should probably be stopped. 😉
@neilgall This worked a lot better than I expected! Someone also mentioned Go, but I’ve never played it. 🙂
Not expecting anything from you, just throwing out a random idea:
Would be cool to have a privkey in a browser addon, and sign your mastobuddies' keys, and then play e2e encrypted chess with each other. Just because we can. You could use your existing social network a la PGP WoT for ranking, and view it from your personal network's perspective.
@tim That’s wild, haha. Sounds like it would need a client impl of chess, though? Or keep the bot in the loop for everything. I wouldn’t be surprised if this was already done over email. 🙂
@kosinus Probably would require client impl, yes. Perhaps it could run in the browser as well, through browserify (for example), and use Mastodon to propagate messages (if max. characters doesn't limit this).
@kosinus it's not working :( nothing happens after the challenge. What do I wrong? Is the bot down or do I need to follow it?
@Sebbaz Sorry about that. I can’t really look into it right now, but will take a look at the logs soon. It should in general work fine with Mastodon, but I’ve heard of specific instances fail before. 😕
@kosinus Hey ! Oh, in fact it was an instance problem.
The august, 5th there was a activitypub push problem. The bot King couldn't reply, it doesn"t receive my request 🐰
Very good job !
@Sebbaz Cool, thanks!
Might be cool to add a public federation log, so people can debug issues themselves. 😀
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!