Extended Straddling Checkerboard: Difference between revisions

Attempted to make this into a draft task now a way forward seems reasonably clear.
m (→‎{{header|Wren}}: Preamble - should read for consistency with ‘Python’ example.)
(Attempted to make this into a draft task now a way forward seems reasonably clear.)
Line 1:
{{draft task}}
An extended Straddling Checkerboard, is like the regular [[Straddling checkerboard]], but allows word dictionaries and arbitrary functional codes likesuch as (FIGURE, where you can specify a number literally).
 
;Task
An extended Straddling Checkerboard, is like the regular [[Straddling checkerboard]], but allows word dictionaries and arbitrary functional codes like (FIGURE, where you can specify a number literally).
Implement encoding and decoding of a message using the extended straddling checkerboard, CT-37w, described in the reference below.
 
You may switch the codes for F/L (99) and SUPP (98) to help differentiate the code for '9' from that of '999'. So we would then have F/L (98) and SUPP (99).
Related tasks:
 
There is no need to create a word dictionary for CODE (6). It suffices to just include CODE followed by some 3 digit number in the message to be encoded.
 
Test your solution by encoding and decoding the message:
 
'Admin ACK your MSG. CODE291 SEND further 2000 SUPP to HQ by 1 March'
 
;Related taskstask:
:* [[Straddling_checkerboard|Straddling checkerboard ]]
 
;Reference:
References:
:* Cipher Machines web page on Checkerboards: [https://www.ciphermachinesandcryptology.com/en/table.htm Checkerboards]
 
9,490

edits