rwbarton / rw

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

don't get stuck in labs due to shifting #5

Open rwbarton opened 11 years ago

rwbarton commented 11 years ago

Remembering what we've seen in a lab is good until the walls shift and we see a new wall and still remember the old wall too because it is out of LOS.

Simple solution: if we're in a lab and exploring fails then throw away our map memory.

rwbarton commented 11 years ago

Or, in every map cell we could store the last time we saw that square, and try to path-find to the unknown while minimizing the "last seen" value of any wall we walk through.