Commit graph

19 commits

Author SHA1 Message Date
Ó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
a951c19a05 Changes after code review. 2021-09-22 14:15:33 +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
Patricia Aas
262ac5dcc5 No shouty 2021-09-10 15:49:33 +02:00
Patricia Aas
90f546f1b2 Revert "There is no standardized interface to add an additional message to assert errors. A portable way to include one is to use a comma operator provided it has not been overloaded"
This reverts commit 32a27e986e.
2021-09-10 15:35:06 +02:00
Patricia Aas
32a27e986e There is no standardized interface to add an additional message to assert errors. A portable way to include one is to use a comma operator provided it has not been overloaded 2021-09-10 15:33:13 +02:00
Corentin Jabot
b3480111db Fix conversions warning (again) 2021-09-10 15:28:38 +02:00
Corentin Jabot
bc83fa77c3 Fix conversions warnings 2021-09-10 15:04:43 +02:00
Corentin Jabot
453dd17d7c Use size_t again 2021-09-10 11:04:27 +02:00
Ólafur Waage
613831f1c0 Fixes for ghost movement where they would occationally exit the stage when cornered. Closes #25 2021-09-09 10:56:29 +02:00
Patricia Aas
d3cc1d90c7 Fix warnings 2021-08-02 15:28:07 +02:00
Corentin Jabot
2cc15c6dcb add toolchain file 2021-08-02 14:46:26 +02:00
Corentin Jabot
17ac48f713 Implement ghost movements 2021-07-29 11:16:08 +02:00
Patricia Aas
99cf57956c Init pos 2021-07-28 17:01:22 +02:00
Patricia Aas
4d53ccce18 Introduce scatterTarget function and inline things that should be in the ghost 2021-07-28 16:39:27 +02:00
Corentin Jabot
f31d238bd4 Rename speedy, remove starting position 2021-07-28 16:20:19 +02:00
Patricia Aas
79b78f7dc0 Remove pacman:: 2021-07-28 15:41:32 +02:00
Patricia Aas
71cb40ad18 Remove unused parameter 2021-07-28 15:30:53 +02:00
Patricia Aas
5b2b0d8e73 Make files for ghosts 2021-07-28 15:28:36 +02:00