rwbarton / rw

DCSS bot
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

exponential backoff on using autoexplore #20

Closed rwbarton closed 10 years ago

rwbarton commented 10 years ago

rw can get stuck in a loop when autoexplore wants to explore in one direction, but is stopped by a monster behind deep water, and rw's exploration wants to explore in the opposite direction. Avoid this loop by backing off exponentially when autoexplore fails repeatedly in a short span of time.