Commit graph

29 commits

Author SHA1 Message Date
Ólafur Waage
aa45121bec Minor formatting and warning fixes. 2021-09-06 16:40:42 +02:00
Patricia Aas
d196491ea4 Rename variable and remove unneeded curlies 2021-08-25 11:26:13 +02:00
Corentin Jabot
b3798ef2df Remove a nodiscard 2021-08-12 10:18:51 +02:00
Patricia Aas
ab9664d07f Name changes and typos 2021-08-02 14:09:03 +02:00
Corentin Jabot
17ac48f713 Implement ghost movements 2021-07-29 11:16:08 +02:00
Patricia Aas
43ccaae3ef Rename variable 2021-07-28 19:06:35 +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
Corentin Jabot
d6a046ff47 Use the correct ghost names 2021-07-16 09:35:32 +02:00
Patricia Aas
522362152d Refactor 2021-07-13 14:26:57 +02:00
Corentin Jabot
370a57f454 Get rid of board class 2021-07-08 17:42:24 +02:00
Patricia Aas
3c638c057e No need to pass Board around 2021-07-07 11:39:09 +02:00
Patricia Aas
e9fb5dac77 Fix some warnings and clang tidy 2021-07-07 11:24:12 +02:00
Corentin Jabot
dac3b12dc4 Explain how the ghosts move 2021-07-07 10:38:52 +02:00
Patricia Aas
f7b53d9fca Don't use -> 2021-07-06 17:09:42 +02:00
Patricia Aas
30f69464dd Move over to size_t 2021-07-06 12:35:23 +02:00
Corentin Jabot
60095363f4 Put the code in a namespace 2021-07-05 14:10:01 +02:00
Corentin Jabot
d166f552f4 Simplify board code 2021-07-05 13:54:54 +02:00
Corentin Jabot
e4991ab1dd Rename PositionInt 2021-07-05 11:47:03 +02:00
Corentin Jabot
ba515eaca5 Replace floats by doubles 2021-07-05 11:40:10 +02:00
Patricia Aas
a62d668ead Simplify Ghost::currentSprite 2021-07-01 14:53:52 +02:00
Corentin Jabot
b6d0bad21c Fix mac build (again) 2021-07-01 10:19:46 +02:00
Corentin Jabot
a01f93cc90 Fix mac build 2021-07-01 10:19:46 +02:00
Corentin Jabot
5b0e561afc Pacman and ghosts can eat each others 2021-07-01 10:19:46 +02:00
Corentin Jabot
3e84746cee Simplify ghost movement code 2021-07-01 10:19:46 +02:00
Corentin Jabot
c2cfb8c734 Implement ghost movement and scatter behavior
Each ghost is trying to reach a point beyond the
corner of the board, which make them run in circle
2021-07-01 10:19:46 +02:00
Corentin Jabot
93186dc8b9 Add ghosts
No movement for now!
2021-06-24 18:33:08 +02:00