Go, HTML, CSS
Go's in-built Database
Are you a spy that needs to leave an urgent top secret message for an incoming foreign diplomat but the only thing in the consulate’s parlor is a chessboard? Chesscode has you covered. Chesscode is a way of encoding messages using a chess board and the starting set of chess pieces. The message can be up to 23 alphanumeric characters also allowing spaces and periods.Encoding
Since the set of possible pieces is fixed as a subset of the starting position, this infinitely limits the theoretical possibilities of 13^64 configurations. Another issue is piece distribution, there is one white king and eight white pawns for example. Because of these constraints, pieces signify the order of data and squares hold the data itself.
Piece Order
- White King
- Black King
- White Queen
- Black Queen
- White Rooks
- Black Rooks
- White Bishops
- Black Bishops
- White Knights
- Black Knights
- White Pawns
- Black Pawns
Charset (space at end): 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
Decoding
Decoding simply reverses the encoding process, but there is a few caveats:
- Not every board with the starting pieces can be decoded
- It is ambiguous if the message intended to leave white space at the end of the message