2021-10-05 11:48:15 +00:00
|
|
|
[< Back](../README.md)
|
2021-10-05 11:44:51 +00:00
|
|
|
|
2021-10-05 11:00:57 +00:00
|
|
|
# Exercise: Create isIntersection function
|
2021-10-05 10:51:55 +00:00
|
|
|
|
2021-10-05 12:29:27 +00:00
|
|
|
## Background:
|
|
|
|
|
2021-10-05 10:51:55 +00:00
|
|
|
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,
|
2021-10-05 12:29:27 +00:00
|
|
|
left/top)
|
|
|
|
|
|
|
|
## Exercise
|
|
|
|
|
|
|
|
1.
|