I updated BeachComberFix to verify sand castle data.
It handles tiles when it sees
It handles sand castles when it sees
That program scraped my logs and determrined that I'd seen 172 beaches with sand castles.
I figured out how castles work
There are ten words.
Each word has its own stretch of beaches, separated by 11, 33, or 55 minutes, denoting dot, dash, end of letter.
The last letter of a word does not have an end of letter.
Instead, a gap greater than 55 means that the next word starts at the new beach.
For reference, here is the set of castles mapping to words:
Numbers in parenthesis are either the start of a new word or are a letter break.
Solo numbers or numbers separated by a dash are morse code for a single letter
Numbers with a * are sand castles I have not seen - 8 out of the required 180.
I hope to pick them up by and by, but they must exist; when I generate the beach sequence using the 10 specified word start beaches, I get something which encodes the input message as expected.
And when I insert those 8 messages into the sand castle beaches I have seen, it generates the exact same message.
I encoded the message using the rules I described and decoded it - and got the identical message.
I decoded the sand castles I've seen (+8 other specific ones) - and got the same message.
I still hope to see the last 8 sand castles, by and by, but I believe sand castle spading is done.
It handles tiles when it sees
6399,3,1) is a 'common' tile.
It handles sand castles when it sees
2 squares in beach 6399 contain a sand castle
That program scraped my logs and determrined that I'd seen 172 beaches with sand castles.
I figured out how castles work
There are ten words.
Each word has its own stretch of beaches, separated by 11, 33, or 55 minutes, denoting dot, dash, end of letter.
The last letter of a word does not have an end of letter.
Instead, a gap greater than 55 means that the next word starts at the new beach.
For reference, here is the set of castles mapping to words:
Code:
EVERY (9375) 9364 (9309) 9298-9287-9276-9243 (9188) 9177 (9122) 9111-9078-9067 (9012) 8979*-8968-8935-8902
TWENTY (8482) 8449 (8394) 8383-8350-8317 (8362*) 8251 (8196) 8163-8152 (8097) 8064 (8009) 7976-7965-7932-7899
SECOND (7479) 7468-7457-7466 (7391) 7380 (7325) 7292-7281-7248-7237 (7182) 7149-7116-7083 (7028) 6995-6984 (6929) 6896-6885-6874
LETTER (6454) 6443-6410-6399-6388 (6333) 6322 (6267) 6234 (6179) 6146 (6091) 6080 (6025) 6014-5981-5970
OF (5550) 5517-5484-5451 (5396) 5385-5374-5341-5530
THE (4910*) 4877* (4822) 4811-4800-4789-4778 (4723) 4712
BOTTLE (4292) 4259-4248-4237-4226 (4171) 4138-4105*-4072* (4017) 3984 (3929) 3896 (3841) 3830-3797-3786-3775 (3720) 3709
MESSAGE (3289) 3256-3223 (3168) 3157 (3102) 3091-3080-3069 (3014) 3003-2992-2981 (2926) 2915-2882 (2827) 2794-2761-2750 (2695 2684
LOOPED (2264) 2253-2220-2209-2198 (2143) 2110-2077-2044 (1989) 1956-1923-1890 (1835) 1824-1791-1758-1747 (1692) 1681 (1626) 1593-1582-1571
THRICE (1151*) 1118* (1063) 1052-1041-1030-1019 (964) 953-920-909 (854) 843-832 (777) 744-733-700-689 (634) 623
Solo numbers or numbers separated by a dash are morse code for a single letter
Numbers with a * are sand castles I have not seen - 8 out of the required 180.
I hope to pick them up by and by, but they must exist; when I generate the beach sequence using the 10 specified word start beaches, I get something which encodes the input message as expected.
And when I insert those 8 messages into the sand castle beaches I have seen, it generates the exact same message.
Code:
> BeachComberCastles
There are 180 beaches with sand castles
There are 180 castles encoding the puzzle hint
Encoded message = 'EVERY TWENTY SECOND LETTER OF THE BOTTLE MESSAGE LOOPED THRICE'
Decoded message = 'EVERY TWENTY SECOND LETTER OF THE BOTTLE MESSAGE LOOPED THRICE'
Decoded message from observed castles = 'EVERY TWENTY SECOND LETTER OF THE BOTTLE MESSAGE LOOPED THRICE'
I encoded the message using the rules I described and decoded it - and got the identical message.
I decoded the sand castles I've seen (+8 other specific ones) - and got the same message.
I still hope to see the last 8 sand castles, by and by, but I believe sand castle spading is done.