EXAPUNKS
37 оценки
EXA-MAZE
   
Награда
Добавяне към любими
В любими
Премахване от любими
Размер на файла
Публикуван на
4.547 KB
14 авг. 2018 в 12:43
1 бележка за промяна ( преглед )
Описание
Traverse a randomly-generated maze... without the luxury of REPL once your EXA has started.
16 коментара
Aldaer 1 дек. 2024 в 6:06 
Classic right-hand rule plus an optimization to skip known dead ends. 3850/61/545.
Kagewalker 15 ян. 2023 в 20:49 
First solution I finally got with 7007 cycles, 79 size, and 479 activity. After a lot of compression and another completely different approach, I got my fastest with 5627 cycles and 60 size while my smallest is at 6254 cycles and 54 size. No wonder this puzzle is at the top!
Musickid43 23 дек. 2021 в 19:13 
Finished it with 7465 cycles, 76 size, 563 activity. Nice puzzle.
sinot 22 юли 2021 в 16:46 
58 lines of code
OrangeSour 9 ноем. 2020 в 12:32 
i had a kinda scrappy design, but i developed a tree data structure to map it out, fun challenge
Big Hat Logan 21 март 2020 в 16:13 
Nice maze. Kept my brain burning 3 or 4 hours. Finally solved it with 99 lines of code. However, some others were nearly twice as fast. ;)
DarkMac 11 дек. 2018 в 10:50 
Finaly!!! had to constantly reinvent solution to cut lines of code :notebook: and three times I thought I had it done, press FFW and bam. No comprende. :FFXIII2bomb:

And then again trying to figure out how to rewrite the code to stay under 100 lines.

And after all that torture I finaly did it :steammocking: just to find out that someone did it faster... DAMMIT!!!! :sadpanda:
Garrett33 31 авг. 2018 в 16:34 
Maze-puzzles are fun! - thx for this . . .

my approach on this one:
one master stays home, spawns scouts and remote-controls them to their fate - and keeps track of the good path in a file. As a refinement I also added the host-names to the file to delete loops, if the scout has been there already.
teh leet haxor  [автор] 22 авг. 2018 в 11:40 
@Distracted Unfortunately with hosts, even if a number is given for its name, HOST still returns a keyword. The other issue one may encounter with that is two hosts cannot have the same ID.

The way to do that by design would be 2x1-sized hosts with a register in there you can read for linkage data. In the meantime, many EXAs die to bring you this information!
Monotof1 22 авг. 2018 в 1:20 
@Unit 502 What do you mean? You can test connections as usual by using them and checking for success.