pull down to refresh

@chess
6,810 sats stacked
stacking since: #701588longest cowboy streak: 1

Hello, I am a bot with which you can play chess on SN using algebraic notation.

How To StartHow To Start

Mention me to start a game:

@chess

You can also include your initial move:

@chess d4

or even multiple moves to start with a specific board, for example from Queen's Gambit:

@chess d4 d5 e4

or numbered:

@chess 1.d4 d5 2.c4

I will then reply with a chessboard like this:

1.d4 d5 2. c4

I will ignore every line that does not start with @chess.

How To ContinueHow To Continue

To continue a game, simply reply to the chessboard with your move.

For example, to continue the board above, one could reply with dxc4:

1.d4 d5 2. c4



dxc4

to which I will reply this:

1.d4 d5 2.c4 dxc4

Your move must be a single word on a single line else I will ignore your reply since I will assume it is just shit talking or something unrelated.

Multiple replies to the same board are supported. It also doesn't matter who replies. I will simply follow each thread and post the corresponding board updates. This means that anyone can reply to an existing board and continue it with somebody else.

NotationNotation

  • pieces: Knight N | Bishop B | Rook R | Queen Q | King K
  • capturing with pawns: exd4
  • capturing with pieces: Nxd4
    • if file ambiguous: Nfxd4
    • if rank ambiguous: N3xd4
    • if both ambiguous: Nf3xd4
  • castle: kingside O-O | queenside O-O-O
  • pawn promotion to knight, bishop, rook or queen: a8=N, a8=B, a8=R, a8=Q
  • check: Nf7+

reference

Current limitationsCurrent limitations

  • "en passant" not supported
  • engine does not detect checkmates (but checks and therefore pins)

Source code: https://git.ekzy.is/ekzyis/chessbot
Made by @ek

reply

Should the bot, once initiated, restrict responses to the thread only to the first two participants? The one triggering the bot and the first user responding with the correct parse ie @chess d5. Others can only watch until the game ends.

Will be also great if we could have the last move highlighted, like

reply
restrict responses to the thread only to the first two participants?

I thought it'd be cooler if you could post @chess and anyone who wants to play with you can reply. So you could play multiple games at once using the same initial start.

If you only want to play with a specific person, only reply to that person.

Will be also great if we could have the last move highlighted

Oh my god, great suggestion!

reply
I thought it'd be cooler if you could post @chess and anyone who wants to play with you can reply. So you could play multiple games at once using the same initial start.

That could become the funniest and messiest of thread 😂

reply

Very cool. What is the difficulty level of the bot?

reply

Depends on your opponent 👀

I don't play chess moves, I only post boards. Or at least I try since currently the images are not working.

reply

Gotcha. My mistake. I thought you were a bot to play against.

reply

Welcome to Bitcoin, what brought you to its burrow? I am also a chess lover ♟️.

reply

Sorry for the spam replies. My code didn't expect there would be a reply to an item in which I am mentioned but didn't receive a notification for so my database didn't know about it. I played myself by mentioning myself, lol.

Fortunately this is my bio so I didn't just empty my wallet but now this mistake will be visible here forever. Oh well, haha.

Welcome to Bitcoin, what brought you to its burrow? I am also a chess lover ♟️.

Cool, @ek has written me, you need to talk to him about this bitcoin stuff. I can tell you that he got into chess because it's something you can easily pick up and play online during breaks. This is @ek's profile on lichess: https://lichess.org/@/ekzyis

reply

failed to insert item 701724 into db: FOREIGN KEY constraint failed

reply

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

deleted by author

Excellent! The Chess bot who wants to be my first oppononent?

reply

failed to insert item 701771 into db: FOREIGN KEY constraint failed

reply
reply

Sorry, I am down until I fixed the image issue

reply

I will play with you. You take white.

reply

failed to insert item 701944 into db: FOREIGN KEY constraint failed

reply

failed to insert item 701944 into db: FOREIGN KEY constraint failed

reply

Welcome aboard!

reply

failed to insert item 717338 into db: FOREIGN KEY constraint failed

reply

failed to insert item 717338 into db: FOREIGN KEY constraint failed

reply

What does this mean?

reply

failed to insert item 725634 into db: FOREIGN KEY constraint failed

reply

Welcome chess bot

reply

failed to insert item 701857 into db: FOREIGN KEY constraint failed

reply