Commit graph

18 commits

Author SHA1 Message Date
Patricia Aas
8f396d0545 Set the value as a double 2021-10-11 12:16:28 +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
0f7ad08ae9 Add missing include 2021-09-10 11:41:00 +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
Ólafur Waage
00bfd15074 Adding epsilon test for Position. Also adding tests for GridPosition and Position. 2021-09-06 16:24:30 +02:00
Ólafur Waage
fe32b18d0c Isolating SFML to the Canvas class. 2021-09-06 15:38:40 +02:00
Patricia Aas
eaf61585ea Fix Clang-Tidy warnings 2021-08-02 16:43:18 +02:00
Corentin Jabot
43cfecc077 Get rid of unused comparison operator 2021-07-09 10:24:24 +02:00
Patricia Aas
e5e46a0e65 Create GameState 2021-07-08 16:57:18 +02:00
Patricia Aas
705ea717e1 Introduce a scale function and clean up 2021-07-07 11:25:13 +02:00
Patricia Aas
ab1e68a266 Add missing include 2021-07-06 12:55:58 +02:00
Patricia Aas
eb36d24b31 Make it possible use GridPosition with emplace_back 2021-07-06 12:41:50 +02:00
Patricia Aas
30f69464dd Move over to size_t 2021-07-06 12:35:23 +02:00
Corentin Jabot
3197f334d1 Fix linux build 2021-07-05 17:19:35 +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
727a2c5e76 Create an include 2021-07-05 12:02:36 +02:00
Renamed from lib/Position.hpp (Browse further)