Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 964 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 964 Bytes

WebRTC based Dark Chess chessboard.

Open the page and send the generated link to a friend to play!

Try it here!

TODO

  • Testing

  • Play around with fog variants:

    • Notified when a piece can be taken
    • Piece in fron of a pawn
    • Pieces around a knight/bishop/rook
    • Pieces near king? (Give king two square vision?)
    • Keep "shadow" vision for squares that were visible last move
    • Show possible boards/values for fogged squares
  • Show list of captured pieces

  • Drag pieces

  • Board letters

  • highlight last move

  • ...

Thanks to:

  • Svelte for a very noob-friendly way to make declarative web apps
  • Sunfish for a very simple and compact chess logic implementation
  • Peerjs for simple peer-to-peer webRTC and an easy to set-up signaling server