Ok, i solved this. Bender got all but two suicide booths. I hope he met Fry there!
"Bite my shiny metal ass, meatbags!!!" © Bender
Please don't get offended, i'm a big fan of Futurama and it's just a quote:)
Incremental way of building functionality doesn't work for me at all - i have a lot of smelling code in the end. Write code that passes first test case, then write code that will pass second test case, but don't refactor. Well, that's my curiosity on what's ahead
The only useful thing i wrote for this challnge is bidirectional dictionary type. It's a list of pairs, and you can use it as dictionary by either key (returning a value) or by value (returning a key). I needed those to keep two-way relation between char ('#X@$SEWNTIB') and a enum type representing a tile on a map.
I used very simple solution for loops - if tile was already visited for 5 times (i know, i know), it's a loop, do nothing. Probably it's the reason i get 100% but puzzle page isn't updated?
UPD, it's not, i was rated 100% after some time.
Could anyone please share your thoughts on loops?
Thanks Codingame, now i know for sure that
"Programming is fun!" © Codingame