﻿ Cerulean Maze Optimized — Keep Talking and Nobody Explodes Module

## On the Optimization of Cerulean Mazes

Huh? How's that? Cyan! Cerulean! Lapis Lazuli! Celadon! Cobalt!

Original Manual

Escape the maze by traveling from the starting point of one maze to the key and returning to the start through the other.

• Initial Maze: Sum the number of batteries, ports, plates, and holders, and modulo this by 2. This is the maze you begin in.
• Coordinates are formatted as (row, col), and in base-36.
• Start: (1st, 2nd) characters of serial number.
• Key: (3rd + 4th, 5th + 6th) characters of the serial number.
However if the sum of the values being added is greater than Z (in base-36, 35 in decimal), replace it with the smaller being added.

Distance is referred as the Manhattan distance, the sum of horizontal and vertical spaces between two locations.

If the key is at the start:

• The exit is already unlocked, but it's a trap! Move one space at a time to a safe distance, until the distance between the current location and the start is at least ten spaces.
• Press SUBMIT to safely trigger the trap.
Pressing RESET from this point will move the current location back to the submitted space. This takes priority over all other cases.

If the key is five or fewer spaces from the start:

• The key is an illusion, the true location is twice as far from the start as it appears to be.
• If the true location appears to be outside of the maze, wrap the true key location around the opposite side.
• Repeat until the key's location is further than five spaces from the start.

Once/If the key is further than five spaces from the start:

• The directional buttons move the current space (n / 5) spaces in that direction, rounding up, where n is the distance between the key. (6 spaces away, 2 spaces when moving) A minimum of 1 space is enforced.
• Once the key is collected the same applies to the exit.

A move is only considered legal if inputting the displayed hexadecimal digit is contained within the destination space. If the destination space is out of bounds, its move is never valid.

The current space does not change if an invalid move is attempted.

The STUCK button may only be pressed if there are no legal moves:

• A STUCK move travels to the adjacent space in the direction that reduces the greatest distance to the key/exit.
• If there is a tie between perpendicular directions, move one space in both directions.

Press SUBMIT on the space occupied by the key to collect it and press it again at the starting point to exit the maze, disarming the module.

`0`
`0`123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
`0`456789AB1235679BDF024678ACEF04689ABCDEF89BCDE0145689CD0124589BCDEF1358AC02578BDE0123589ABF35789ACE013457ACDF023679ABCDEF01389A123412478BCFBCDEF9BCE235689CD13469ABCEF0235678ADF248A36AE049C123467ABEF0145789CD012345678ADE26ACE4689ABDF028E135679ABDEF1234679BCE0127CDEF125789CDEF12346789BCDE0367
4389A012389ABEF124789EF23567ABCEF45CF3789AF46AC456789ACDEF024568ACEF2456789B02568ACE013ACDEF89ACDF0234567ABEF1589ABD05678DEF02468A059C369BCE478B12469BCE01234567C23467158C02359ABC02346589ABCEF01489CD01289ACDE367AEF148D012345678CD01245689BCDE357ACE012389BE13469ACE
7245789ABCDEF13579ACE0389AB159C126789CD9BDEF01345689ACDE14BE23478BEF12568ACE0145689ACDE12367ABDEF02579ACF1246ABCDEF012452789ABCDEF12389AB1389ABCDEF01345789BCD267AEF12569ACE013689ABCDEF01458CD56789ABC0458ACDEF56EF5689ABCF012345679B0456789ABC3789ABF048C12356789BDEF89ABEF023589AF35BF0234679ABDEF
8179BDF0236715BD345679BCDEF023467ABEF45679BCDEF23459ACD123567ABEF1357BDF135789ABDEF012357ABCF0134569ABCEF456789BE0123579BDF1578ABCE024689ACDEF235679ABDEF4567F0123489ABDEF89ABDE8BCD013457AE9ABCDF02468ACEF02345678ACEACDF13569BDF01678DEF0345679A01234689CF13479BCE234789ABDF0145789BCD3456ACDF12568BCF0245679AEF
A1234679ABDEF34567BCDEF7CDEF4689CDE01239AB246ABCDEF457DF02468C0189CD67BEF1234678D0347ABCF01246789ACDE069F28ACE236AEF1257AB01245789CDEF016789AF014589CF0367ABEF01679AEF13789ABCDEF01361247ABEF02489ABCDEF123456789BDF024678ACDE15BF0124568ABCEF267B01272367AE0123589ABCEF0124689ACE01589CD
J35789ABCDEF89ACEF237BF0236789ACD012389ABDF025789AF13479BDE024569BF13572457CDEF016789ACEF01245689CDE134567CDEF2346789D023678ABCEF024562367AEF01345689CDEF02468ABCEF12569ACDEF1235679ABEF025689ABCDEF03569BDF135789ABCDF012389ABF13457018BDF2367B03478BDE12345789ABDF23689ABCDEF0158926AE012345679BDE0189ACE12349BCE
N02468ABCDE4567ACDEF0234568ACDEF02345679CDEF0148901234567BEF1456789CDEF0123456789AF02358ABD0135789BCDF236ABF236ABEF0135679BDF245678ACDEF01238AB24AC01234567CF1245679BCDEF89ABC1357BF012456BF4567CEF124589DE1234567ABEF125789ABCDEF0239234789CD01345789ACDF9ACE024567ACDEF03459B01345689ACDF236789ABCDEF012789AF01245689A2457AE
S23891359D0124689267ABEF026AE01234789ABCD013578901235789ABF245789BCDF01234567E024568ACE4567ACDF237ABEF01238A0124678ABCDE45689ABF26BE01345713579ACF23456789ABEF23689ABCE456CDE456CD03479BCF01245689CD234789DE467CE01234570123456789D468A01235679BDF01234589AB01234567ACDF89ABDEF01345679ABDF139F
U23ABE14CD1234679ABCEF0567ACDF2457ABCD01369ABC3456789ACDEF0234678ABCEF245678CDEF26789BCD02356789ABEF0123456789C2347ABCF0134589CDF0356ABEF1234670234678ABCDE13478BDF069ABCDF1247ABCD034689ABCDEF89DE458905AF1356EF268C23689C0148C12468BDF0124578ABDEF012789BE12456789ABDE026C1378AE045678CDEF459BCDF
V1238CDEF0124567B0135789ABDF04689CDEF129B28CE56CE012345679BD26AF6ABEF06CE012367ABCDEF012345678D0245678ACE123579BDEF012345679CD12345789BDEF458D1235670134579BDF09CD038A014ABDEF056701345AEF2345BD01345689CD014589CDF03458BCF123567ABDEF589ABCDEF0189C23679ACD1235678ABCEF01234567CD024567CDEF
1
`0`123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
`0`1389BCD02468ACDE0145737BCDEF01459CD023467ABCEF123AB048CE4567CE01245689ACEF0123470456789CDEF01238B134789ABEF1579BD2457ACDF13468ACE012345701245789ACDE12456789ABDE1247CDEF4567ACDF01245789ACDF1234678ABDEF01356789ACEF12569BDE45789ABCDEF12468ACE012345678BCF1345679ABCDF8ACE14678ABD138B2367F1245678BCDEF23467ABEF
203478ACF01234689ACE1345789BCDF239AB12569A1378AE24567ACDEF13568ACF0235678ABCEF0234678ABCDE01234567ABE0124689ACDE267ABEF23679ACF46CEF01234689ABCF0147DF46ACE4567DE145679CDEF2468AE13469C01389ABCDEF0289ACD01234789ABCD01234567DEF01234567AB123567ABDEF049ABDEF27AB01234689ABDE456CE68AC367ABF03679ACD0468AC
B05679ABC1235789BCDEF0134589ABCD039B024678ACDEF13469BDE02468BCF013457CDF189AB2356789ABCEF46CE0124673579BDF8ABDEF01234589ABEF0389ABCDEF1235679ABCDF1359BDF23458BDE012345678D45689ACDE0189BDF05678C2367ABE23467ABDEF014567CDEF01234589BCD029ACD245789BCDF01234589ACD034689ABCDEF01245789CD0235679C01234678ACDE01234589ABCD124567
C01234589ABCF1235679AB01234589AB15789CDEF0123468ABCDE245678CDEF2489BDEF13579ABDF238AB1234670134589BCD02356789ABEF123678CD023679ABEF1389B036789EF0134579ABDEF23AF89ABE0459ABEF4589ABCDEF01345689CD4567E014589ACDEF12679AEF57CE2457ABCD03456789ABCF02389A03479BCF179B0234689ACDEF0189C01234689ABDF02478ACF4689DE
I02578ABD01345789CDF01458C0123456789DEABDE013689AF0123456789C135679BDEF13579BCE01238A8DEF01234567A013579ABCDEF9ACD0234678ACEF01245713479BDF234567BCDEF02467EF016789BE46789ABD0123689ABE0234678AB01345012345678AE237ABF45CDF139AEF02569BDF01678BEF012348CDEF01345AEF67AB26BE0123456789AB8BCDEF
J36BE9ABCEF01234567CDF2356DF012389AF0123679BCF01235789ABCE1239AB14679CEF0245678CDEF045CD0234678ABCEF03469ACE2689ABE0235679ABCEF179D012345678BCE03468BCF12345679BDF39DF1578CE012346789ABD1245679ACDEF139BDF1289ABCDEF48AE678ACEF1234679ABCEF45789ABE89ABCE024679BDEF12468912389B08ACE234567ABEF1345789BDF
K013CDF12478ACE234567BDF01236789ABDE012389ABC1234579ABDEF013459B89ABD37BEF0236789ABEF0245678BCD014589ABCDF0136ACDF0123789ABCDE2367ABCEF02469ACE02578BDF01235689ABDF235689CF12349ABDEF013689BE1789EF0123789ABEF03468BCE46DE0123457E13BD13579ABDEF23BE145678AB56CDEF4589ABEF9BDF13568ACE012345679ACF46CDEF