fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

Reveal castle info to AI if it's partially in fog

Open idshibanov opened this issue 2 years ago • 1 comments

Right now AI is at disadvantage when it can ignore a castle if it's entrance isn't in view. Added a check on new tile revealed to them.

idshibanov avatar Jul 19 '22 05:07 idshibanov

I have two questions regarding this approach:

  • why don't we reveal all tiles where castle stands as AI cannot calculate a path to one tile surrounded by fog?
  • aren't we making AI cheat by revealing the entrance of the castle? AI could see whether a player stands there.

ihhub avatar Jul 19 '22 14:07 ihhub

Hi @idshibanov , could you please answer the question above when you have free time?

ihhub avatar Aug 30 '22 13:08 ihhub

I think you're correct, we'll need another approach here. Closing for now.

idshibanov avatar Sep 12 '22 16:09 idshibanov