pacman/exercises/21/is_intersection/README.md

347 B

< Back

Exercise: Create isIntersection function

Background:

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)

Exercise