Commit graph

10 commits

Author SHA1 Message Date
Corentin Jabot
d3e7ed1f46 Pressing A switches from the player to the AI. 2021-10-05 14:31:21 +02:00
Corentin Jabot
d5379872ce Cleanup AI code 2021-10-05 12:11:29 +02:00
Patricia Aas
88f81cd0ae Move Clyde to the solution folder for day 1 ghost exercise 2021-10-05 09:46:29 +02:00
Ólafur Waage
1f4fb7c8a1 Turning off AI for now. 2021-09-28 10:54:31 +02:00
Ólafur Waage
1c05f500b0 Refactoring ghost's target and update to no longer require *this. They each have their own target function which sets a target variable within Ghost. 2021-09-23 14:57:53 +02:00
Ólafur Waage
260adb54db Fixes for clang-tidy. 2021-09-22 14:06:17 +02:00
Ólafur Waage
db0756ca21 Different AI implementation. Now searches for nearest pellet. No ghost checks yet. 2021-09-20 15:17:07 +02:00
Ólafur Waage
9031609348 Work on the AI project. Not sure if this is good as an exercise. 2021-09-17 16:44:16 +02:00
Corentin Jabot
c495dd9c37 Basic fruits support
Of course, there is no support for levels yet!
2021-09-13 14:48:59 +02:00
Ólafur Waage
55fbb53591 Refactoring Game and GameState. Moving game state update logic into that class. Game is now only event loop. 2021-09-07 16:00:19 +02:00