EXAPUNKS
Ocen: 37
EXA-MAZE
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
4.547 KB
14 sierpnia 2018 o 12:43
1 lista zmian ( zobacz )

Zasubskrybuj, aby pobrać
EXA-MAZE

Opis
Traverse a randomly-generated maze... without the luxury of REPL once your EXA has started.
Komentarzy: 16
Aldaer 1 grudnia 2024 o 6:06 
Classic right-hand rule plus an optimization to skip known dead ends. 3850/61/545.
Kagewalker 15 stycznia 2023 o 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 grudnia 2021 o 19:13 
Finished it with 7465 cycles, 76 size, 563 activity. Nice puzzle.
sinot 22 lipca 2021 o 16:46 
58 lines of code
OrangeSour 9 listopada 2020 o 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 marca 2020 o 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 grudnia 2018 o 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 sierpnia 2018 o 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  [autor] 22 sierpnia 2018 o 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 sierpnia 2018 o 1:20 
@Unit 502 What do you mean? You can test connections as usual by using them and checking for success.