# .font: font.text_2
# .autowrap: false
# .centered: true
just one! 5 fixed
# .font: font.text_1
by
# .font: font.text_2
dustin
# .centered: false

# .font: font.value_1
# .autowrap: false
DUSTIN                            2020-08-30 18:58
# .font: font.value_2
# .autowrap: true
HERE'S WHAT I THINK I'VE FOUND OUT ABOUT THE SPECIAL OPEN BORDER IMPLEMENTATION AT THIS SITE:  
  
1. ALL SPECIAL RULES APPLY ONLY FOR BOULDERS AND GROWING WALLS, NO OTHER ELEMENTS ARE AFFECTED.  
2. WHENEVER A NEW EMPTY SPACE IS MADE (MAINLY, IF ROCKFORD MOVES OR SNAPS INTO DIRT OR A DIAMOND), THIS NEW EMPTY SPACE IS GIVEN A KIND OF "SEMI STATE". BOULDERS ANDGWALLS STILL REGARD THIS SEMI STATE AS A BLOCKADE, WHILE ALL OTHER ELEMENTS REGARD IT AS EMPTY SPACE.  
3. THE "SEMI STATE" IS FINALLY TURNED INTO "100% EMPTY SPACE" AS SOON AS...  
A) ...THE SEMI STATE IS SCANNED OR  
B)... THE CAVESCAN FOR THIS FRAME ENDS.  
  
EXAMPLES YOU CAN SEE IN THIS CAVE:  
  
AT THE BEGINNING, ROCKFORD CAN EASILY ESCAPE THE BOULDER, AS EVERYONE WOULD EXPECT WITHOUT OPEN BORDERS. WITH OPEN BORDERS, HOWEVER, THE BOULDER WOULD USUALLY KILL ROCKFORD AFTER THE FIRST STEP!   
INITIAL SITUATION:  
R  
.  
.  
.  
B  
R=ROCKFORD B=BOULDER  
ROCKFORD IS SCANNED FIRST AND MOVES DOWN.  
THE BOULDER IS SCANNED NEXT BUT STILL IN THE SAME FRAME (THAT'S WHAT HAPPENS ONLY AT THE OPEN BORDER!) AND FALLS INTO THE SPACE WHERE ROCKFORD HAS JUST LEFT.  
NEXT FRAME:  
B  
R  
.  
.  
.  
NOW THE FALLING BOULDER IS SCANNED FIRST AND KILLS ROCKFORD IMMEDIATELY, SO ROCKFORD HAS NO CHANCE TO ESCAPE!  
  
krissz'S OPEN BORDER IMPLEMENTATION FIXES THIS, BECAUSE WHEN ROCKFORD MOVES DOWN, HE LEAVES BEHIND NOT EMPTY SPACE, BUT A "SEMI STATE" WHICH THE BOULDER CANNOT IMMEDIATELY USE TO FALL! SO ROCKFORD ESCAPES, AS WE WOULD EXPECT FROM NORMAL BD BEHAVIOUR.   
  
ROOM #1 SHOWS THE SAME SIDE EFFECT AS MY "CSO 65" AND arno'S "TINY CURIOSITY 2" CAVES.   
  
.R.  
HDL  
W.W  
H=HEAVY BOULDER L= LIGHT BOULDER W=WALL  
IF ROCKFORD SNAPS DOWN, WE WOULD NORMALLY EXPECT THE HEAVY BOULDER TO FALL FIRST BECAUSE IT IS SCANNED FIRST AFTER ROCKFORD CLEARED THE DIRT. HERE, HOWEVER, THE HEAVY BOULDER DOES NOT SEE EMPTY SPACE TO ITS RIGHT BUT THE "SEMI STATE" WHICH BLOCKS BOULDERS, SO IT CANNOT FALL. AFTER THE HEAVY BOULDER, THE SEMI STATE ITSELF IS SCANNED AND TURNED INTO REAL EMPTY SPACE, SO THAT THE LIGHT BOULDER CAN USE IT TO FALL!  
  
ROOM #2 IS ONE OF THE EXAMPLES THAT CONVINCES ME THAT SEMI STATES DO NOT EXIST FOR FLIES. WE HAVE TECHNICALLY THE SAME SCENARIO AS IN ROOM #1, BUT HERE THE LEFT FLY COMES OUT FIRST AFTER ROCKFORD SNAPS THE DIRT AWAY!  
  
ROOM #3 IS A VERSION OF THE STARTING SCENARIO WITH THE BOULDER ABOVE ROCKFORD. HERE, HOWEVER, IF ROCKFORD COLLECTS THE DIAMOND, HE WILL INEVITABLY GET CRUSHED. THIS IS THE NORMAL OPEN BORDER BEHAVIOUR WITHOUT SPECIAL RULES. SO WHY DOES THE SEMI STATE NOT HELP HERE? I THINK IT MUST BE BECAUSE THE SEMI STATE EXISTS FOR BOULDERS AND GWALLS BUT NOT FOR... SLIME! SO THE SLIME CAN SWALLOW THE BOULDER IN THE SAME FRAME WHEN ROCKFORD MOVES DOWN, AND THIS BOULDER THEN INEVITABLY CRUSHES ROCKFORD ONE FRAME LATER.  
  
ROOM #4 IS WHERE YOU CAN SOLVE THE CAVE, BUT ONLY DUE TO THE OPEN BORDER IMPLEMENTATION. NORMALLY, IF ROCKFORD SNAPS THE FLIES AND THE GWALL FREE, THE GWALL IS SCANNED FIRST AND IMMEDIATELY GROWS, BLOCKING THE FLIES OFF. WITH THE SPECIAL RULES, HOWEVER, THE GWALL SEES THE SEMI STATE TO ITS RIGHT SIDE AND CANNOT GROW IMMEDIATELY, SO THE BUTTERFLY GETS ITS CHANCE TO GET OUT!  
  
ROOM #5 SHOWS AN INCONSISTENCY THE OPEN BORDER CAUSES, WHICH THE SPECIAL RULES DON'T COPE WITH. NORMALLY, ROCKFORD CAN ESCAPE A FIREFLY IN A TUNNEL WHERE THE FLY TOUCHES HIM FROM ROCKFORD'S RIGHT SIDE. HOWEVER, AS SOON AS ROCKFORD CROSSES THE OPEN BORDER, THERE'S ONE SINGLE FRAME WHERE THE FLY IS SCANNED BEFORE ROCKFORD, SO THE FLY EXPLODES. OF COURSE, FOR MAXIMUM DRAMA, I SET THE OPEN BORDER DIRECTLY BEFORE THE EXIT! :D  
  
ALL THIS IS OF COURSE ONLY MY THEORY ABOUT WHAT SPECIAL OPEN BORDER IMPLEMENTATION krissz CAME UP WITH IN ORDER TO FIX SOME INCONSISTENCIES!

# .font: font.value_1
# .autowrap: false
NESDORI                           2020-08-30 19:30
# .font: font.value_2
# .autowrap: true
dustin, VERY DEEP RESEARCH! A LOT OF THINGS I WASN'T AWARE OF YET.  
  
SO THIS TIME THE INTENDED SOLUTION WAS TO GET MORE THAN JUST ONE \. THAT WAS A LITTLE BIT CONFUSING.. :)

# .font: font.value_1
# .autowrap: false
KRISSZ                            2020-08-30 20:00
# .font: font.value_2
# .autowrap: true
1. ... AND FOR DIAMONDS

# .font: font.value_1
# .autowrap: false
DUSTIN                            2020-08-30 21:22
# .font: font.value_2
# .autowrap: true
nesdori, THX! :D HAVING FOUND OUT BD STUFF THAT YOU DIDN'T KNOW QUITE HONOURS ME, I THINK ;)  
YES, THIS CONFUSION WAS QUITE INTENDED... AND TO ADD TO THIS, I GAVE NO BONUS VALUE, SO WHWN PLAYERS SEE THE SCORE OF OTHER PLAYERS, THEY MUST REALLY BE CONVINCED THAT THERE'S ONLY ONE DIAMOND TO COLLECT :P  
  
krissz - AH YES, OF COURSE! ALTHOUGH BOULDERS AND DIAMONDS MAKE A HUGE DIFFERENCE FOR ROCKFORD, THEY ALMOST MAKE NO DIFFERENCE FOR PROGRAMMERS... :D

# .font: font.value_1
# .autowrap: false
DUSTIN                            2020-08-30 21:50
# .font: font.value_2
# .autowrap: true
AH, AND THERE'S OBVIOUSLY ONE EXCEPTION TO THESE SPECIAL RULES. IF A BOULDER/DIAMOND/GWALL IS SCANNED "QUICKLY" AFTER THE "SEMI STATE" ARISIS, IT IS NOT BLOCKED. OTHERWISE, ROOM #1 COULD BE SOLVED BY MOVING THE DIRT AWAY INSTEAD OF SNAPPING! ALSO, IF ROCKFORD HAS A GWALL TO HIS RIGHT OR BOTTOM SIDE AND MOVES, THE GWALL STILL INSTANLY GROWS, SO IT CANNOT BE BLOCKED BY THE SEMI STATE IN THIS CASE.

# .font: font.value_1
# .autowrap: false
DUSTIN                            2020-09-01 23:42
# .font: font.value_2
# .autowrap: true
I THINK I FOUND A SIMPLER FORMULATION OF THE SPECIAL OPEN BORDER RULES THIS ENGINE USES (WITHOUT EXCEPTIONS):  
  
1. WHENEVER A NEW EMPTY SPACE APPEARS (E.G. ROCKFORD MOVES OR SNAPS INTO DIRT), IT IS GIVEN A "DELAY STATE" (THIS SEEMS A BETTER NAME THAN "SEMI STATE", AS I LEARNED ON arno'S HOMEPAGE).  
2. AT THE END OF EACH CAVESCAN, EACH OF THESE DELAY STATES ARE REMOVED.  
3. IF A BOULDER, DIAMOND OR GWALL IS SCANNED AND "SEES" AN EMPTY SPACE IN DELAY STATE TO ITS RIGHT OR BOTTOM, IT CANNOT MOVE/FALL/GROW INTO THAT DIRECTION. HOWEVER, IF ONE OF THOSE THREE ELEMENTS SEES" A DELAYED EMPTY SPACE AT ITS LEFT OR TOP SIDE, IT IS REGARDED AS NORMAL EMPTY SPACE.  
4. FOR EVERY OTHER ELEMENT APART FROM BOULDERS, DIAMONDS AND GWALLS, THE DELAY STATE MAKES NO DIFFERENCE AT ALL.  
  
(APART FROM THESE SPECIAL RULES, THE CAVE IS SCANNED IN THE SAME ORDER AS IF CLOSED BORDERS WERE USED.)  
  
WITH THIS, EVERYTHING I EXPERIMENTED WITH IS EXPLAINED!