pacman/exercises/21/is_intersection/README.md

7 lines
316 B
Markdown
Raw Normal View History

2021-10-05 11:44:51 +00:00
[< Back](../exercises.md)
2021-10-05 11:00:57 +00:00
# Exercise: Create isIntersection function
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)