by cristoperb · 8mo ago · 0 comments
I wrote mine by hand just testing it using the in-browser simulator. I initially used subroutines to try to keep things structured but then resorted to inlining most things (and flattening as much state as I could to bare registers) to try to speed things up, though i never quite got my ants to always move within the 64 op step.
My best score on the official test set was 654 (43rd place). I put my code and a little write up here: https://github.com/cristoper/brain.ant
Interesting that you didn't use dead reckoning at all to return to the nest. I didn't think I could get away with that. And somehow using a second channel to extend the trails never occurred to me.
I'm just now (last few months) dabbling with agentic coding, but being an oldschool tech guy I had to dive straight into assembly. It was just too hard for me to level up my agentic skills given the deadline.