Update README.md

This commit is contained in:
Patricia Aas 2021-10-19 09:45:35 +02:00 committed by GitHub
parent d4feab4c63
commit 72f14bcc96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,12 +65,19 @@ bool PacManAI::isValidMove(const Move & move) {
```
<details>
<summary>Hint</summary>
<summary>Hint 1</summary>
Use [isWalkableForPacMan](../../../lib/Board.cpp) to make sure PacMan is not walking in ways that are not legal
</details>
<details>
<summary>Hint 2</summary>
Use [oppositeDirection](../../../lib/include/Direction.hpp) to make sure PacMan doesn't get stuck toggeling back and forth
</details>
### Part 3
Implement [PacManAI::optimalDirection](../../../lib/PacManAI.cpp) and test your implementation with the test