# .font: font.text_2
# .autowrap: false
# .centered: true
d 1033 the unbreakable code
# .font: font.text_1
by
# .font: font.text_2
dustin
# .centered: false

# .font: font.value_1
# .autowrap: false
DARKSTOORM                        2021-09-10 17:05
# .font: font.value_2
# .autowrap: true
THE CKIT DOESN'T WANT TO COOPERATE WITH ME ON THIS ONE, GOTTA FIND A CLUE IN A DIFFERENT WAY :D

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-10 18:56
# .font: font.value_2
# .autowrap: true
I'VE TAKEN THIS INTO ACCOUNT. THE CKIT CAN BE HELPFUL, BUT IT WON'T TELL YOU EVERYTHING ;)

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-10 21:45
# .font: font.value_2
# .autowrap: true
CLEVER! 365 MOD 73 = 0 AND 364 MOD 13 = 0 :) ALSO VERY CLEVERLY DESIGNED BECAUSE IF I CHECKED CORRECTLY, THERE'S ONLY ONE SOLUTION. CKIT'S NEW SLIME FEATURE CAN INDEED BE HELPFUL BUT YOU HAVE TO WARP THE SPACETIME :)

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-10 22:41
# .font: font.value_2
# .autowrap: true
CONGRAT, nesdori! TO BE HONEST, I DIDN'T EXPECT A SOLUTION ON THE FIRST DAY! :D  
  
YES, 365 IS THE SMALLEST SLIME NUMBER WITH THE PROPERTY THAT 1. THERE ARE IMPERMEABLE SLIMES AND 2. IF YOU BLAST ONE SLIME, THERE ARE AGAIN IMPERMEABLE SLIMES :D THE NUMBER 365 IS SUCH A COINCIDENCE THAT MY FIRST IDEA WAS TO MAKE A KIND OF CALENDAR WHERE EACH SLIME REPRESENTS ONE DAY OF THE YEAR :D  
  
THE INTENDED SOLUTION IS INDEED UNIQUE!  
  
SPEAKING OF WRAPPING THE TIMESPACE, I'VE RECENTLY SEEN A RIDDLE WHICH I LIKE SO MUCH THAT I'M CURRENTLY GIVING IT TO EVERYONE WHO CAN'T ESCAPE QUICK ENOUGH :D  
  
THE RIDDLE GOES (IT'S GOT NOTHING TO DO WITH THE CAVE):  
I'M THE BEGINNING OF THE END  
AND THE START OF ETERNITY.  
I'M THE END OF TIME AND SPACE.  
YOU CAN FIND ME IN YESTERDAY,  
BUT NOWHERE IN TOMORROW.  
WHAT AM I?

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-11 10:03
# .font: font.value_2
# .autowrap: true
dustin, EHH.. ERR.. EXCITING ENIGMA TO START WITH! :)

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-11 13:08
# .font: font.value_2
# .autowrap: true
:D

# .font: font.value_1
# .autowrap: false
ARNO                              2021-09-11 21:25
# .font: font.value_2
# .autowrap: true
JUST SOME THOUGHTS:  
  
(DON'T READ THIS IF YOU ARE STILL PUZZLING, IT MAY CONTAIN SPOILERS...)  
  
IT MATTERS WHETHER THE SLIME IS DESTROYED FROM THE LEFT SIDE OR THE RIGHT SIDE, ISN'T IT?  
  
WHEN DESTROYED FROM THE RIGHT SIDE, THE PIECE OF SLIME IS STILL SCANNED IN THE PARTICULAR FRAME OF THE EXPLOSION, JUST BEFORE THE ENIGNE REPLACED IT BY "EXLOSION". IN THIS CASE, THE RNG FOR NEXT FRAME STARTS WITH A DRAW NUMBER WHICH IS STILL "THE FIRST MODULO 365", LIKE AT THE CAVE-START, SO THEN, THE SOLUTION COULD BE FOUND IN THE CKIT, BY JUST TRYING TO REMOVE EACH PIECE OF SLIME AND CHECK WHETER THE REMAINING SLIMES BELOW DIAMONDS ALL BECOME MARKED GREEN/PERMEABLE.  
  
BUT SINCE THIS IS NOT THE CASE (WELL, IT SEEMS SO, UNLESS I'VE MISSED SOMETHING...), THE SLIME MUST BE DESTROYED FROM THE LEFT SIDE. IN THIS CASE, THE FRAME OF THE EXPLOSION COUNTS ONLY 364 DRAWS, SO THE LAST DRAW FROM THE SERIES OF 365 WILL BE USED FOR THE NEXT FRAME. SO, IN ORDER TO SIMULATE THE BEHAVIOUR AFTER THE EXPLOSION IN THE CKIT, ONE MUST FIRST REMOVE THE TOP-LEFT SLIME, ADD AN EXTRA SLIME AT THE BOTTOM-RIGHT, AND THEN TRY REMOVE EACH SLIME ONE BY ONE...  
  
SO FAR IS THIS ANALYSIS CORRECT?

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-11 21:49
# .font: font.value_2
# .autowrap: true
arno, THE SOLUTION CAN BE ACHIEVED BY SCANNING THE SLIME BEFORE OR AFTER THE EXPLOSION. THE DIFFERENCE IS THAT IF THE SLIME IS SCANNED BEFORE THE EXPLOSION YOU HAVE TO EXPLODE IT ONE FRAME EARLIER THAN IF THE SLIME IS NOT SCANNED BEFORE THE EXPLOSION. THE RESULT IS SAME SO YOU CAN EXPLODE THE SLIME IN WHATEVER WAY YOU WANT. THE PROBLEM IS CORRECT TIMING AND OF COURSE EXPLODING THE CORRECT SLIME :). THIS PUZZLE CAN BE FULLY SOLVED IN CKIT BUT LIKE I SAID EARLIER: YOU HAVE TO WARP THE SPACETIME BY ADDING SOME (SLIME) MASS :)

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-11 23:51
# .font: font.value_2
# .autowrap: true
arno, AS I GET IT, nesdori MENTIONED SOMETHING THAT YOU HAVEN'T FOCUSSED ON YET, NAMELY THE FACT THAT THE TIMING IS IMPORTANT!   
  
YOU CAN EASILY SEE THAT IF YOU BLAST THE SAME SLIME AT THE SAME PLACE TWICE WITH DIFFERENT TIMINGS (LET'S SAY YOU DELAY THE WAY FOR THE FIREFLY ONCE). BOTH ATTEMPTS SHOULD GIVE YOU DIFFERENT RESULTS IN TERMS OF WHICH \\\ PASS THROUGH.  
  
THE RNG HAS 73*13=949 DIFFERENT STATES.   
NOW NORMALLY, IF THE AMOUNT OF SLIMES IN THE CAVE IS NEITHER A MULTIPLE OF 73 NOR OF 13, EACH SLIME RUNS THROUGH EVERY POSSIBLE STATE DURING 949 FRAMES. BUT IF THE AMOUNT OF SLIME IS A MULTIPLE OF 73, THEN EACH SLIME WILL ONLY RUN THROUGH 13 DIFFERENT STATES, AND VICE VERSA.   
  
AS nesdori POINTED OUT, IT DOES MAKE A DIFFERENCE FROM WHERE YOU BLAST THE SLIME, BUT THIS ACTUALLY PLAYS A SUBORDINATE ROLE. YOU CAN SOLVE THE CAVE WITH BOTH STRATEGIES.  
  
HOPE WE LEAD YOU INTO THE RIGHT DIRECTION WITHOUT GIVING AWAY EVERYTHING ;)

# .font: font.value_1
# .autowrap: false
DARKSTOORM                        2021-09-12 02:06
# .font: font.value_2
# .autowrap: true
I'M NOT SURE, BUT BRUTE FORCING THE SOLUTION MIGHT BE EXTREMELY HARD, BECAUSE CRUSHING THE FLY AT THE SAME SPOT WITH DIFFERENT DELAYS ACTUALLY DOES YIELD DIFFERENT RESULTS... OR MAYBE I'M SEEING THINGS? :D  
  
I FORCED THE SLIME DESTRUCTION WITH ROCKFORD ON SOME RANDOM PIECE OF SLIME IN THE FOLLOWING SETUP:  
  
RF.  
.S.  
...  
  
R - ROCKFORD, F -  FLY, S - SLIME  
  
I TRIED 1 FRAME DELAY, 2, 3 AND 4, EACH RUN WAS DIFFERENT!

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 09:02
# .font: font.value_2
# .autowrap: true
darkstoorm, UNDERSTANDING THE RNG AND SLIMES MATH IS THE KEY TO SOLVE THIS CAVE. LIKE dustin SAID, IF THE "NUMBER OF SLIMES MOD 73 = 0" LIKE THE CASE IS WITH INITIAL 365 SLIMES, THE SLIMES WILL BE CHECKED WITH 13 DIFFERENT VALUES UNTIL THE CYCLE IS REPEATED. THIS IS BECAUSE ANY (N * 73) * 13 IS OF COURSE DIVISIBLE BY 949 (73 * 13). SO, IF YOU JUST RANDOMLY TRY TO EXPLODE THE CORRECT SLIME, THERE'S IS 1/13 CHANCE TO SOLVE THIS CAVE. ALTHOUGH THERE ARE 13 TIMINGS TO CHECK, THOSE CHECKS CAN BE DONE WITH CKIT WITHOUT ACTUALLY PLAYING THIS CAVE AT ALL. AND YOU DON'T HAVE TO CHECK EACH SLIME SEPARATELY; ONCE YOU HAVE SET UP THE CORRECT TIMING IN CKIT, YOU CAN CLEARLY SEE THE TARGET SLIME. BUT HOW CAN YOU SIMULATE DIFFERECT TIMINGS IN CKIT? THAT'S ANOTHER PROBLEM: I WOULD START BY CLONING THIS CAVE, SETTING THE SIZE TO 100*100 TO AND SHIFTING THE ACTUAL CAVE IN THE MIDDLE. NOW THERE'S A BIGGER SLIME UNIVERSE WHERE TIMESPACE WARPING CAN BE DONE MORE EASILY :)

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 11:03
# .font: font.value_2
# .autowrap: true
NOW THAT I THOUGHT OF IT; I'M NOT SURE WHAT IS dustin'S INTENDED WAY TO SOLVE THIS CAVE. ALTHOUGH I PREFER PURE CKIT-APPROACH BECAUSE IT'S MORE MATHEMATICAL APPROACH THIS CAVE CAN ALSO BE SOLVED BY PLAYING THE CAVE 13 TIMES WITH A CLEAR PLAN. YOU JUST HAVE TO MAKE PRECISE OBSERVATIONS AFTER EACH TRY :)

# .font: font.value_1
# .autowrap: false
DARKSTOORM                        2021-09-12 12:39
# .font: font.value_2
# .autowrap: true
THE AMOUNT OF EMPTY SPACE THE FLY HAS IS ALSO NOT A COINCIDENCE, RIGHT? 12 + 1 FOR THE TURN? :)

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 12:44
# .font: font.value_2
# .autowrap: true
darkstoorm, I'M NOT SURE ABOUT THAT TOO IF IT'S JUST COINSIDENCE OR INTENTIONMAL. THE AMOUNT OF SPACE REALLY DOESN'T MATTER BUT MAYBE dustin USED IT IN HIS PRELIMINARY TESTS AND JUST LEFT IT :)

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 12:48
# .font: font.value_2
# .autowrap: true
darkstoorm, ACTUALLY; I THINK IT'S INTENTIONAL :D

# .font: font.value_1
# .autowrap: false
ARNO                              2021-09-12 17:32
# .font: font.value_2
# .autowrap: true
I'M DIVING INTO THIS RNG AGAIN AND I HAVE ONE QUESTION:  
  
WHAT IS THE INITIAL SEED VALUE AT krissz' SITE FOR THE RNG OF THE SLIME BEHAVIOUR?  
  
IS IT ZERO (0)?

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 17:56
# .font: font.value_2
# .autowrap: true
arno, IT'S 30 ($1E). C64 BD CKIT USES THE SAME INITIAL SEED.

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-12 18:58
# .font: font.value_2
# .autowrap: true
THE PERIOD LENGTH OF THE FIREFLY (26=2*13) IS INDEED INTENTIONAL. IT'S NOT STRICTLY NECESSARY, BUT IT MEANS THAT THE TIMING DOES NOT DEPEND ON HOW MANY TIMES THE FLY MOVES BACK AND FORTH BEFORE YOU RELEASE IT. IT'S JUST TO SUBTRACT ONE PRACTICAL DIFFICULTY FROM THE CAVE, AS THERE ARE ENOUGH THEORETICAL ONES ;)

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-12 19:35
# .font: font.value_2
# .autowrap: true
S U M M A R Y OF THE RELEVANT FACTS WE HAVE DISCUSSED SO FAR:  
  
1. THE SLIME RNG HAS A PERIOD LENGTH OF 949=73*13. THIS MEANS THAT IF THE AMOUNT OF SLIME IN A CAVE IS A MULTIPLE OF 73 OR 13, THEN THERE WILL BE IMPERMEABLE SLIMES AMONG THEM. (NOTE THAT EVERY SLIME GETS A NEW NUMBER EVERY FRAME, NO MATTER IF IT CARRIES A DIAMOND OR NOT!) THE NUMBER DECIDES ON WHETHER THE PARTICULAR SLIME IS PERMEABLE IN THIS PARTICULAR FRAME OR NOT.  
  
2. AT THE START, THIS CAVE HAS 365 SLIMES (5*73). EVERY \ WHICH DOES NOT FALL THROUGH WITHIN THE FIRST 13 FRAMES (2 SECONDS) WILL NEVER DO. THIS IS TRUE AS LONG AS THERE ARE 365 SLIMES IN THE CAVE, SO THE SOLUTION MUST BE TO DESTROY A SLIME.  
  
3. AFTER DESTROYING A SLIME, THERE ARE 364 SLIMES LEFT, WHICH IS A MULTIPLE OF 13. SO AGAIN, THERE WILL BE IMPERMEABLE SLIMES! SO IT MUST BE DONE IN A WAY THAT N O N E OF THE SLIMES WHICH CARRY A \ IS IMPERMEABLE.  
  
4. THE TIMING IS ALSO RELEVANT. AS EACH OF THE 365 INITIAL SLIMES GETS 13 DIFFERENT NUMBERS FROM THE RNG, THERE ARE 13 DIFFERENT TIMINGS IN WHICH EACH SLIME CAN BE DESTROYED TO GET A DIFFERENT RESULT.  
  
5. SO ALL IN ALL, AS THERE ARE 320 RELEVANT SLIMES IN THE CAVE (OR LET'S SAY 320-48=272 IF WE SUBTRACT THE SLIMES WHICH CARRY A \), THERE ARE 272*13=3536 POSSIBLE SOLUTIONS. ONLY ONE OF THEM WILL MAKE ALL \\\ FALL THROUGH!  
  
6. OF COURSE, THE IDEA IS NOT TO TRY THEM ALL OUT! INSTEAD, THE NEW CKIT FUNCTION "SHOW ALL IMPERMEABLE SLIMES" CAN BE VERY HELPFUL. IF YOU SEMI-CLONE THE CAVE, USE THIS FUNCTION AND TAKE, FOR EXAMPLE, THE LAST SLIME AWAY, IT'LL SHOW YOU WHICH OF THE REMAINING SLIMES WILL BE PERMEABLE AFTERWARS. THIS PICTURE WILL ONLY SLIGHTLY CHANGE IF YOU TAKE AWAY ANOTHER SLIME INSTEAD.  
  
7. NOW THE PICTURE OF PERMEABLE AND IMPERMEABLE SLIMES DOESN'T REALLY FIT WITH YOUR NEEDS, I.E. YOU DON'T EVEN GET CLOSE TO HAVING ALL DIAMONDS BEING ABOVE PERMEABLE SLIMES!   
WHY IS THIS THE CASE? IT'S THE TIMING AGAIN. THE CKIT SHOWS YOU WHICH SLIMES ARE PERMEABLE IF THE CAVE S T A R T S WITH THE GIVEN AMOUNT OF SLIMES. THIS IS ONLY ONE OF 13 DIFFERENT TIMINGS (AND "OF COURSE" IT'S NOT THE CORRECT ONE :D)  
  
OPEN QUESTION:  
IN WHAT WAY DOES A DIFFERENT TIMING AFFECT THE PERMEABLE/IMPERMEABLE SLIMES AS SHOWN IN THE CKIT? ONCE YOU FIGURE THIS OUT, YOU COME A BIG STEP CLOSER TO THE SOLUTION! DON'T THINK TOO COMPLICATED, THE C64 RNG WAS A VERY SIMPLE AND L I N E A R ONE! :D  
  
ANOTHER LITTLE HINT: THE SLIMES ARE COUNTED BY THE RNG IN CAVESCANNING ORDER, I.E. ROW-BY-ROW, EACH ROW FROM LEFT TO RIGHT. DON'T FORGET TO COUNT EVERY SLIME INCLUDING THE "SLIME" LETTERS!

# .font: font.value_1
# .autowrap: false
ARNO                              2021-09-12 19:57
# .font: font.value_2
# .autowrap: true
nesdori, THANKS!   
  
JUST AN OBSERVATION:  
  
I SEE THAT WITH SEED 30, THERE ARE FIRST 26 INITIAL DRAWS BEFORE THE SERIES ENTERS THE 949-CYCLE.  
  
THIS IS RELEVANT FOR A CAVE LIKE THIS, RIGHT?   
FOR THE FIRST 26 SLIMES IN THIS CAVE, IT IS POSSIBLE THAT THEY ALREADY SWALLOW THE DIAMOND DURING THE FIRST FRAME, WHILE THEY WOULDN'T DO ANYMORE AFTER THE RNG HAS ENTERED THE 949-CYCLE...  
  
I GUESS dustin HAS TAKEN THIS INTO ACCOUNT AS WELL WHEN DESIGNING THE CAVE?

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 21:32
# .font: font.value_2
# .autowrap: true
arno, THE VALUES BEFORE THE CYCLE AREN'T AS RELEVANT AS YOU MIGHT THINK OF IN THESE KIND OF PUZZLES. WITH PERMEABILITY 7 THERE'S NO DIFFERENCE BECAUSE THERE AREN'T ANY VALUES WITH 7 HIGHEST BITS SET TO 0 EITHER IN PRE-CYCLE VALUES OR AMONG THE LAST 26 VALUES OF THE CYCLE WHICH WILL REPLACE PRE-CYCLE VALUES DURING FOLLOWING FRAMES. AND EVEN IF SOME OTHER PERMEABILITY IS USED WHERE THERE MIGHT BE DIFFERENCE IT WON'T REALLY MATTER IN THIS PARTICULAR PUZZLE. 26 FIRST SLIMES WILL GET TWO OPPORTUNIES TO LET AN OBJECT FALL BUT THE PUZZLE DESIGNER JUST SEES THAT AN OBJECT WILL FALL WITH INITIAL 365 SLIME SETUP AND TECHINICALLY IT DOESN'T MATTER IF IT FALL DURING PRE- OR CYCLE PERIOD. BUT THERE MIGHT BE A CLEVER WAY TO INTENTIONALLY USE PREVALUES IN SOME OTHER CAVES.. :)

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-12 21:32
# .font: font.value_2
# .autowrap: true
arno, AH NO, I ACTUALLY DIDN'T ;) I WASN'T CHECKING WHETHER THE STARTING VALUE IS ALREADY PART OF THE 949 CYCLE OR NOT.   
HOWEVER, IT SHOULD NOT MAKE A DIFFERENCE HERE, BECAUSE IT AFFECTS ONLY THE FIRST FRAME.

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 22:18
# .font: font.value_2
# .autowrap: true
ACCORDING TO dustin'S SUMMARY HIS INTENDED WAY TO SOLVE THIS CAVE IS DIFFERENT FROM BOTH OF MY METHODS :D

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-12 22:38
# .font: font.value_2
# .autowrap: true
SLIGHTLY, YES. BUT I LIKE YOUR TIMESPACE WRAPPING METHOD, WHICH IS VISUALLY VERY SATISFYING BECAUSE YOU CAN CLEARLY SEE A PERMEABLE SLIME UNDER EVERY DIAMOND (EXCEPT FOR THOSE WHICH ALREADY SLIPPED THROUGH BEFORE THE SLIME WAS EXPLODED). :D

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 22:43
# .font: font.value_2
# .autowrap: true
dustin, AHH! SO YOU TRIED IT :D I ALSO LIKE THE VISUALITY; IT'S VERY APPARENT WHICH SLIME SHOULD BE ELIMINATED :)

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-12 23:10
# .font: font.value_2
# .autowrap: true
nesdori, I ONLY TRIED IT AFTER READING YOUR COMMENT ;)

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-12 23:27
# .font: font.value_2
# .autowrap: true
dustin: HERE ANOTHER PUZZLE FOR YOU (AND FOR ALL OTHER PLAYERS STILL TRYING TO SOLVE THIS). IT'S POSSIBLE TO SOLVE THIS CAVE WITHOUT NEW CKIT SLIME FEATURE AT ALL. YOU ARE ALLOWED TO CLONE THE CAVE AND MODIFY IT AND THEN PLAY THE MODIFIED CAVE 13 TIMES. AFTER THAT YOU SHOULD BE ABLE TO SAY WITH CERTAINTY THAT WHAT TIMING IS CORRECT AND WHICH SLIME SHOULD BE EXPLODED. THE METHOD SHOULD NOT ONLY WORK WITH THIS SETUP BUT IT SHOULD ALSO WORK IF THE SLIME IN QUESTION IS THE FIRST OR LAST ONE OR ANY BETWEEN. SO.. WHAT TO DO? :)

# .font: font.value_1
# .autowrap: false
ARNO                              2021-09-13 11:48
# .font: font.value_2
# .autowrap: true
I'VE FOUND THE CORRECT SLIME USING THE TIMESPACE WRAPPING METHOD!  
  
VERY ENJOYABLE PUZZLE! GREAT WORK dustin! :-D

# .font: font.value_1
# .autowrap: false
DARKSTOORM                        2021-09-13 12:53
# .font: font.value_2
# .autowrap: true
I DECIDED TO GO WITH "TRIAL AND ERROR", I THOUGHT I HAD IT, BECAUSE WITH CERTAIN TIMING I ENDED UP HAVING ONLY TWO IMPERMEABLE SLIMES. I WILL EXPERIMENT WITH CKIT A BIT LATER :D

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-13 20:09
# .font: font.value_2
# .autowrap: true
arno AND krissz: CONGRAT! :D  
arno: THANKS FOR THE FLOWERS :)  
darkstoorm: YOU'RE VERY CLOSE TO THE SOLUTION! ALL YOU HAVE TO DO NOW IS CHANGE THE STATE OF THESE TWO SLIMES. I'M QUITE SURE THAT YOUR TWO PROBLEM SLIMES ARE VERY CLOSE TO YOUR TARGET SLIME (IN ORDER OF CAVESCANNING). SO WHAT CAN YU POSSIBLE DO TO CHANGE THE STATE OF THESE TWO SLIMES WITHOUT CHANGING THE STATE OF ALL THE OTHER SLIMES?  
  
nesdori: ACTUALLY I STARTED TO MAKE THIS CAVE BEFORE THE CKIT FEATURE EVEN EXISTED :D I JUST MADE A CAVE WITH 949 SLIMES, CHECKED WHICH ONES ARE IMPERMEABLE, AND HAD ALL THE NECESSARY INFORMATION TO MAKE THE CAVE :D BUT YOUR IDEA IS DIFFERENT; I'LL THINK ABOUT IT :)

# .font: font.value_1
# .autowrap: false
DARKSTOORM                        2021-09-13 21:51
# .font: font.value_2
# .autowrap: true
dustin, THOSE TWO SLIMES ARE ACTUALLY IN THE SAME ROW AS MY TARGET SLIME, I HAVE NO IDEA ANYMORE :D  
I DON'T KNOW ANYTHING ABOUT THE SLIMES MATH SO I CAN'T MAKE ANYTHING OUT OF THE GIVEN CLUES, AND I THINK nesdori HAS TOLD ALMOST EVERYTHING THAT HAS TO BE DONE :D  
  
MY TARGET SLIME WAS COL:13;ROW:10, BUT I DON'T THINK IT'S THIS ONE, IT MIGHT BE A SLIME NEXT TO IT, NO IDEA HOW TO FIND THIS OUT :D

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-13 22:32
# .font: font.value_2
# .autowrap: true
darkstoorm, YOU ARE VERY CLOSE! YOU SHOULD JUST ADJUST YOUR CROSSHAIR TO THE DIRECTION OF THE IMPERMEABLE SLIMES. AND BY DIRECTION I MEAN LINEAR SCANNING DIRECTION :)

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-14 00:06
# .font: font.value_2
# .autowrap: true
darkstoorm, WELL IF YOU WANT THOSE TWO SLIMES TO CHANGE THEIR STATE, THEN JUST MOVE YOUR TARGET PAST THOSE TWO SLIMES!  
  
YOU DON'T NEED TO KNOW ANYTHING SPECIFIC ABOUT THE MATH.

# .font: font.value_1
# .autowrap: false
DARKSTOORM                        2021-09-14 00:44
# .font: font.value_2
# .autowrap: true
OH MY GOD! IT WOULD BE IMPOSSIBLE FOR ME TO FIGURE THIS OUT :D  
  
I HAD TO EXHAUST ALL THE CLUES!

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-14 01:08
# .font: font.value_2
# .autowrap: true
CONGRAT darkstoorm AND THANKS FOR TESTING MY NEW HIGH-SECURITY LOCK! I'LL GO AND SELL IT TO THE HIGHEST-BIDDING BANK TOMORROW! :D

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-14 02:23
# .font: font.value_2
# .autowrap: true
nesdori, I THINK I SOLVED YOUR EXTRA PUZZLE ;)

# .font: font.value_1
# .autowrap: false
ARNO                              2021-09-14 08:47
# .font: font.value_2
# .autowrap: true
CONGRAT darkstoorm! NOW TIME TO REVEAL I GUESS...

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-14 08:55
# .font: font.value_2
# .autowrap: true
dustin, OK, LET'S COMPARE OUR METHODS :) THIS IS HOW I WOULD HAVE SOLVED THIS PUZZLE WITHOUT CKIT SLIME CHECKER:  
  
IF YOU EXPLODE THE LAST SLIME OF THE CAVE WITH CORRECT TIMING THE EFFECT YOU WILL SEE IS THAT DURING THE NEXT 73 FRAMES, SLIMES SCANNED BEFORE THE TARGET SLIME WILL DROP \:S AND SLIMES AFTER TARGET MAY OR MAY NOT DROP \:S. IF THE TARGET SLIME IS ONE OF THE FIRST SLIMES YOU REALLY RELIABLE CAN'T SAY WHICH TIMING IS CORRECT BY TRYING ALL 13 OF THEM. BECAUSE THE TARGET SLIME CONSUMES ONE RNG VALUE, THE SLIMES JUST BEFORE THE SLIMES WITH \:S ON TOP OF THEM AND WHICH ARE SCANNED AFTER THE TARGET SLIME BECOME PERMEABLE DURING THE NEXT 73 FRAMES. BECAUSE MOST OF THEM DON'T HAVE NOTHING TO PASS THROUGH WE JUST DON'T SEE IT. IT WE WOULD, IT WOULD HELP US TO CONFIRM THAT THE TIMING IS CORRECT. SO LET'S FIX IT BY CLONING THE CAVE AND BY ADDING \ (OR |) TO THE TOP OF EACH SLIME PRECEDING A ORIGINAL \ SLIME AND ALSO MAKE SPACE BELOW THEM. IF THE PRECEDING SLIME ALREADY HAS A \ OR IT'S PART OF THE "SLIME" TEXT THEN JUST SKIP IT. NOW IF WE TRY PLAYING THE MODIFIED CAVE AND AGAIN EXPLODE THE LAST SLIME WITH ALL 13 TIMINGS, ONE OF TIMING WILL PRODUCE A RESULT WHERE ONE OF \:S FROM EACH \-PAIRS WILL FALL. IN PAIRS SCANNED BEFORE THE TARGET SLIME, THE RIGHT SIDE \ WILL FALL AND AFTER THE TARGET, THE LEFT SIDE \ WILL FALL. NOW IT'S TRIVIAL TO SPOT THE TARGET SLIME AND CONFIRM THAT THE TIMING INDEED IS CORRECT :)

# .font: font.value_1
# .autowrap: false
NESDORI                           2021-09-14 12:45
# .font: font.value_2
# .autowrap: true
darkstoorm, IF YOU ARE INTERESTED TO KNOW THE MORE THEORETICAL SOLUTION TO THIS USING CKIT SLIME CHECKER HERE'S HOW I DID IT. arno AND dustin ALSO DID SOMETHING SIMILAR BUT I'M NOT SURE IF THEY DID IT IN EXACTLY SAME WAY. krissz'S METHOD IS STILL A MYSTERY :)  
  
SO, TO TEST EACH TIMING WITH SLIME CHECKER YOU NEED TO SETUP A OFFSET FOR RNG VALUE CYCLE. BECAUSE THE CAVE INITIALLY HAS 365 SLIMES, THE OFFSET FOR EACH 13 TIMINGS IS N * 365 WHERE N = 0-12. BECAUSE THE CYCLE LENGTH IS 949, OFFSETS BIGGER THAN 949 CAN BE DIVIDED BY 949 AND JUST TAKE THE MODULO. YOU NEED TO "PAD" THE CAVE PUTTING THIS MANY SLIMES BEFORE THE ACTUAL CAVE FIELD. I DID IT BY SETTING THE CAVE SIZE TO 100*100 AND SHIFTING THE ACTUAL CAVE IN THE MIDDLE SO THAT THERE'S IS SPACE FOR BOTH PRE-PAD AND POST-PAD.  
  
PRE-PAD VALUES (N * 365) MOD 949) FOR EACH TIMING ARE:  
  
0: 0  
1: 365  
2: 730  
3: 146  
4: 511  
5: 876  
6: 292  
7: 657  
8: 73  
9: 438  
10: 803  
11: 219  
12: 584  
  
WHEN ONE SLIME IS EXPLODED FROM THE ACTUAL CAVE, WE END UP WITH 364 SLIMES. THIS IS THE AMOUNT OF SLIMES WE SHOULD USE IN CKIT SLIME CHECKER. BUT BECAUSE OF THE PRE-PAD SLIMES, THERE WILL BE MORE SLIMES THAN THAT. THEREFORE WE NEED TO FIX THE RNG CYCLE SYNC. WE CAN DO IT BY ADDING POST-PAD IN SUCH WAY THAT THE TOTAL NUMBER OF SLIMES IS 949 + 364 INSTEAD OF JUST 364. ONE FULL ROUND OF RNG CYCLE VALUES IS CONSUMED ON PADDING SLIMES SO THE ACTUAL CAVE SLIMES GET EXACTLY THE SAME RNG VALUES LIKE THEY WILL IF THERE WOULD BE ONLY 364 SLIMES.  
SO THE POST-PAD AMOUNT FOR EACH TIMING IS 949 + 364 - PREPAD - 365 = 948 - PREPAD. NOTICE THAT ANY SLIME IS NOT REMOVED FROM THE ACTUAL CAVE YET. BUT THE POSTPAD AMOUNT IS DECREMENTED BY ONE TO "VIRTUALLY" REMOVE ONE SLIME SO THAT THE EFFECTIVE NUMBER OF SLIMES IS 364. IT'S BASICALLY THE SAME AS REMOVING THE LAST SLIME FROM THE ACTUAL CAVE SLIMES.  
  
HERE'S THE POST-PAD TABLE:  
  
0: 948  
1: 583  
2: 218  
3: 802  
4: 437  
5: 72  
6: 656  
7: 291  
8: 875  
9: 510  
10: 145  
11: 729  
12: 364  
  
SO YOU SHOULD PUT "POST-PAD" NUMBER OF SLIMES AFTER THE ACTUAL CAVE. AFTER DOING BOTH PRE-PAD AND POST-PAD, THE SLIME CHECKER FEATURE SHOULD WORK AND YOU CAN CHECK EACH TIMING. TIMING 0 PADDINGS ARE ACTUALLY NOT NECESSARY BECAUSE THE PRE-OFFSET IS 0. YOU CAN ACHIEVE THE SAME BY JUST REMOVING THE LAST SLIME AND NOT DOING PADDING AT ALL. SO TIMING 0 IS WHAT YOU GET IF YOU JUST CLONE THE CAVE AND REMOVE ONE SLIME AND USE THE SLIME CHECKER.  
TO SAVE TIME, I'LL REVEAL THAT THE CORRECT TIMING IS 6. TRY IT OUT AND YOU'LL SEE WHAT BEAUTIFUL VISUALITY WE ARE TALKING ABOUT WHICH REVEALS THE CORRECT TARGET SLIME :)

# .font: font.value_1
# .autowrap: false
DARKSTOORM                        2021-09-14 13:13
# .font: font.value_2
# .autowrap: true
THANKS nesdori! THAT WAS THE "ADDING SLIME MASS" PART I DID NOT UNDERSTAND :D I WILL DEFINITELY TRY THAT OUT LATER

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-14 21:35
# .font: font.value_2
# .autowrap: true
SO HERE'S HOW I MADE THE CAVE (AND, ACCORDINGLY, HOW I THOUGHT IT COULD BE SOLVED WITH ENOUGH KNOWLEDGE OF THE RNG):  
  
1. SEMI-CLONE THE CAVE AND SHOW IMPERMEABLE SLIMES.  
  
2. REMOVE ONE SLIME (FOR EXAMPLE, THE BOTTOM-RIGHT ONE) SO AS TO SIMULATE THE SITUATION AFTER DESTROYING ONE SLIME.  
  
3. NOW, UNFORTUNATELY, THERE'S A WEIRD MIX OF PERMEABLE AND IMPERMEABLE SLIMES AMONG THE IMPORTANT ONES (WHICH CARRY A \). HOWEVER - AND THIS MIGHT BE THE TRICKIEST PART - THERE'S A PATTERN: THE SIXTH-NEXT SLIME AFTER A \-CARRYING SLIME IS ALWAYS PERMEABLE!  
  
4.TO CLARIFY THIS, IT'S USEFUL TO TAKE AWAY THE SIX LAST SLIMES IN THE CAVE AND, AS COMPENSATION, PLACE SIX SLIMES AT THE VERY BEGINNING OF THE CAVE (I.E. AT THE VERY TOP ROW). AFTER THIS, INDEED EVERY \-CARRYING SLIME IS PERMEABLE! ...AOMOST.  
  
5. THAT'S BECAUSE THE PATTERN BREAKS ON THE 11TH SLIME ROW. FROM THERE ON, NO LONGER EVERY \-CARRYING SLIME IS PERMEABLE. BUT THERE'S A NEW PATTERN: THE SLIME DIRECTLY BEFORE A \-CARRYING SLIME IS ALWAYS PERMEABLE!  
  
6. THIS CAN BE FIXED BY PUTTING BACK THE BOTTOM-RIGHT SLIME (WHICH WE REMOVED AT THE BEGINNING JUST BECAUSE WE DIDN'T KNOW BETTER) AND REMOVE THE FIRST SLIME ON ROW 11 INSTEAD.   
  
7. NOW WE'VE GOT IT: E V E R Y \-CARRYING SLIME IS PERMEABLE! AND THIS GIVES THE SOLUTION: THE FIRST SLIME ON ROW 11 MUST BE DESTROYED 13N+6 FRAMES AFTER THE CAVE START, FOR AN ARBITRARY WHOLE NUMBER N. THAT'S IT! :D

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-14 22:24
# .font: font.value_2
# .autowrap: true
AND HERE'S WHAT IS NEEDED TO KNOW ABOUT THE RNG IN ORDER TO UNDERSTAND THE SOLUTION (AT LEAST IT'S WHAT I USED):  
  
THE SLIME RNG PRODUCES A SET OF TWO NUMBERS BETWEEN 0 AND 255 EVERY TIME A SLIME IS SCANNED. THE RESULT DECIDES ABOUT WHETHER OR NOT THIS PARTICULAR SLIME IS PERMEABLE IN THIS PARTICULAR FRAME. IT DOES NOT MATTER WHETHER THE SLIME DOES ACTUALLY CARRY SOMETHING TO SWALLOW! FOR EXAMPLE, THE SLIMES FORMING THE WORD "SLIME" ALSO GET A SET OF NUMBERS EVERY FRAME.  
  
NOW THE PERIOD LENGTH OF THE RNG HAPPENS TO BE 949, WHICH IS 13*73. THAT'S THE VERY REASON FOR THE STRANGE EFFECT THAT IF THE NUMBER OF SLIMES IN A CAVE IS A MULTIPLE OF 13 OR 73, THERE ARE IMPERMEABLE SLIMES.  
  
HOW EXACTLY THE PSEUDO-RANDOM NUMBERS ARE CALCULATED IS IRRELEVANT. IT'S ONLY RELEVANT THAT THE RNG HAS 949 DIFFERENT OUTCOMES BEFORE THE CYCLE RESTARTS. SOME OF THESE 949 OUTCOMES MAKE THE SLIME ACTIVE FOR THE FRAME, OTHERS DON'T.  
  
FROM NOW ON I SHOULD DISTINGUISH THE TERMS "ACTIVE" AND "PERMEABLE". A SLIME IS "ACTIVE" IF IT CAN SWALLOW A | OR \ IN A PARTICULAR FRAME, AND IT'S PERMEABLE IF CAN SWALLOW SOMETHING IN SOME ARBITRARY FRAME.SO IN SHORT, A SLIME IS IMPERMEABLE IF IT'S NEVER ACTIVE!  
  
AS MENTIONED ABOVE, THE RNG CREATES SETS OF TWO NUMBERS BETWEEN 0 AND 255. HOWEVER, IT'S FAR EASIER TO ASSUME IT CREATES SETS OF NUMBERS (N, K) WHERE N IS BETWEEN 1 AND 73 AND K IS BETWEEN 1 AND 13. ALLOWING EVERY PAIR OF (N, K) VALUES, THIS MAKES A TOTAL OF 949 DIFFERENT PAIRS, WHICH IS EXACTLY WHAT WE NEED.  
  
LET THE FIRST OUTCOME OF THE RNG BE CALLED (1, 1), THE SECOND (2, 2), THEN (3, 3), ... (12, 12), (13, 13), (14, 1), (15, 2), ..., (72, 7), (73, 8), (1, 9), .......IN OTHER WORDS, BOTH N AND K MOVE ON BY 1 EVERY STEP UNTIL THEY REACH THEIR LIMIT, AND THEN RESTART FROM 1. THIS WAY, ALL 949 POSSIBLE PAIRS ARE REACHED BEFORE THE CYCLE RESTARTS AT (1, 1).  
  
NOW LET'S ASSUME FOR SIMPLICITY THAT THERE ARE ONLY TWO PAIRS WHICH MAKE A SLIME ACTIVE: LET THESE BE (2, 2) AND (3, 4). SO ALL THE OTHER 947 PAIRS LEAD TO PASSIVE SLIME!  
(INDEED THIS IS NOT THE CASE WITH PERMEABILITY 7. TO FIND OUT WHICH PAIRS ARE ACTUALLY ACTIVE, YOU CAN MAKE A CAVE WITH 949 SLIMES AND SHOW THE IMPERMEABLE SLIMES!)  
  
NOW WHAT HAPPENS IN THIS CAVE WITH 365=5*73 SLIMES? IN THE FIRST FRAME, THE FIRST SLIMES HAS (1, 1) AND IS THEREFORE PASSIVE. THEN THE OTHER SLIMES GET NUMBER PAIRS, BUT LET'S FOCUS ON THE FIRST ONE. WHEN THE SCAN OF THE FIRST FRAME IS OVER, THE RNG HAS CALCULATED 265 PAIRS. SO AT THE START OF FRAME 2, THE FIRST SLIME GETS THE 366TH PAIR, WHICH IS (1, 2) BECAUSE 366 MOD 73 = 1 AND 366 MOD 13 = 2. AGAIN A PASSIVE ONE!  
IN THE THIRD FRAME, THE FIRST SLIME GETS (1, 3), THEN (1, 4) AND SO ON. SEE THE PATTERN? THE SLIME RUNS THROUGH ALL 13 K VALUES, BUT IT WON'T EVER CHANGE ITS N VALUE! AND THE SAME GOES FOR ALL THE OTHER 364 SLIMES IN THE CAVE!  
  
NOW WE CAN EASILY SEE WHICH SLIMES ARE PERMEABLE, NAMELY THE ONES WHICH HAVE N=2 OR N=3, BECAUSE WE ASSUMED THAT (2, 2) AND (3, 4) ARE THE ONLY ACTIVE NUMBERS. THAT MEANS, THE 2ND, 3RD, 75TH, 76TH... SLIME ARE THE ONLY PERMEABLE ONES!  
  
NOW WHAT HAPPENS ONCE A SLIME IS DESTROYED? THERE WILL BE 364 SLIMES LEFT, WHICH IS NO LONGER A MULTIPLE OF 73. THIS MEANS THAT THE SLIMES NO LONGER HAVE A CONSTANT N VALUE! BUT, AS 364 IS A MULTIPLE OF 13, NOW THE K VALUES WILL NO LONGER CHANGE!   
  
SO THAT'S THE CHRONOLOGICAL ORDER:  
1. AT THE START WITH 365 SLIMES, EVERY SLIME HAS CONSTANT N VALUE BUT CHANGES ITS K VALUE EVERY FRAME. ONLY SLIMES WITH N=2 AND N=3 ARE PERMEABLE.  
2. ONCE A SLIME IS EXPLODED, EVERY SLIME WILL NOW ROTATE ITS N VALUE. HOWEVER, NOW K IS CONSTANT, WHICH MEANS THAT EVERY SLIME NOW HAS A FIXED K VALUE, AND IT IS THE K VALUE THE SLIME HAD AT THE MOMENT OF THE EXPLOSION.  
THAT'S THE REASON WHY THERE ARE EXACTLY 13 DIFFERENT TIMINGS FOR THE EXPLOSION: ONE TIMING FOR EACH K VALUE!  
  
AFTER THE EXPLOSION, THERE WILL BE NEW PERMEABLE SLIMES, NAMELY THE ONES WITH K=2 AND K=4 (IN OUR EXAMPLE). IT DEPENDS ON THE TIMING WHICH EXACT SLIMES THESE ARE, BUT YOU CAN ALWAYS DIVIDE THE 364 SLIMES INTO 13-SLIME-BLOCKS SUCH THAT IN EVERY BLOCK, ONLY THE 2ND AND 4TH SLIME IS PERMEABLE. SO THE PERMEABLE SLIMES HAVE A PATTERN WHICH REPEATS AFTER 13 SLIMES!  
  
YEAH, THAT'S BASICALLY ALL :D WITH THIS KNOWLEDGE, IT'S POSSIBLE TO MAKE SIMILAR CAVES ;)

# .font: font.value_1
# .autowrap: false
DUSTIN                            2021-09-15 22:30
# .font: font.value_2
# .autowrap: true
nesdori, I HAD THE SAME IDEA BUT DIDN'T THINK THROUGH IT AS CAREFULLY. I JUST WANTED TO EXPLODE THE LAST SLIME WITH ALL TIMINGS WITHOUT MODIFYING THE CAVE. IT WOULD WORK HERE, BUT PROBABLY NOT IF THE TARGET SLIME WAS ONE OF THE FIRST IN THE CAVE :D