luciodale a day ago

Hi, my name is Lu, and I miserably tried to make a chess.com clone.

I wanted to explore svelte a bit, and thought of an AmAzInG use case for it. I said to myself: I am going to build a chess board so I can play with some of the svelte features.. not quite. Of course, it turns out that there is a lot of board logic and not much svelte magic lol.

Anyways, I spent a fair amount of time on it, so I thought of sharing to give it some justice.. If someone is a decent player, did I implement the rules well?

  • luciodale a day ago

    and btw, it does absolutely nothing.. you can only play against yourself. What a legendary piece of software!

    • gus_massa 20 hours ago

      > it does absolutely nothing

      It does quite a but. It checks that the move is legal, checks and checkmate, promotion (why can I click the X and not promote?), en passant, I forgot to check castling.

      Is it possible to add "sandbox" mode to make a arbitrary board instead of playing a game?