pacman/exercises/21/is_intersection/exercise.md
2021-10-05 12:51:55 +02:00

5 lines
274 B
Markdown

# std::array and ranged for
waage: Maybe the "isIntersection" for the AI. Create an array of GridPosition and array of bool and loop through to
check "isWalkableForPacMan" and then return the different kinds of intersections (top/right, right/bottom, bottom/left,
left/top)