EXAPUNKS
37 evaluări
EXA-MAZE
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Dimensiunea fișierului
Postat
4.547 KB
14 aug. 2018 la 12:43
1 jurnal de actualizare ( vizionare )

Abonează-te pentru a descărca
EXA-MAZE

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