Open rwbarton opened 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.
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.
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.