Skip to content

Recursing/darkChess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

webRTC Dark Chess chessboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published