I made a silly macro that plays Crawl!
Posted: Friday, 9th January 2015, 03:40
http://i.imgur.com/dj1HPZS.webm
Basically I just wrote a program that simulates Crawl-relevant keypresses in a pattern. It reads absolutely 0 information from the game, so it's not an AI of any form, just a dumb macro. I know it's nothing revolutionary, but I like to watch it and silently root for it nonetheless!
Notes and restrictions:
-Has to be a mummy, since a food clock would be hard to manage when we're effectively mashing buttons. As for class, Fighter is the best to spam tab with (winning over Gl in my experience since the extra defensive-oriented stuff helps in packs) and axes are a no-brainer since our mummy knows nothing of corridor fighting.
-Will get stuck infinitely if an enemy is in view but unreachable (plants, glass walls, etc.)
-Tie-in with the previous note, will be unable to do anything if TAB becomes unusable, most notably through low-HP. I think there's a way to shut this warning though, and I never use tab normally, so I wouldn't mind doing that if I knew how to.
-Sometimes takes so long turn-wise that OOD monsters will spawn. Vampire Mosquitoes on D:1!
And for anyone interested, here's some pseudocode for the key pattern it follows:
I hope you all found this interesting!
Basically I just wrote a program that simulates Crawl-relevant keypresses in a pattern. It reads absolutely 0 information from the game, so it's not an AI of any form, just a dumb macro. I know it's nothing revolutionary, but I like to watch it and silently root for it nonetheless!
Notes and restrictions:
-Has to be a mummy, since a food clock would be hard to manage when we're effectively mashing buttons. As for class, Fighter is the best to spam tab with (winning over Gl in my experience since the extra defensive-oriented stuff helps in packs) and axes are a no-brainer since our mummy knows nothing of corridor fighting.
-Will get stuck infinitely if an enemy is in view but unreachable (plants, glass walls, etc.)
-Tie-in with the previous note, will be unable to do anything if TAB becomes unusable, most notably through low-HP. I think there's a way to shut this warning though, and I never use tab normally, so I wouldn't mind doing that if I knew how to.
-Sometimes takes so long turn-wise that OOD monsters will spawn. Vampire Mosquitoes on D:1!
And for anyone interested, here's some pseudocode for the key pattern it follows:
Spoiler: show
I hope you all found this interesting!