Commit graph

271 commits

Author SHA1 Message Date
Patricia Aas
1eeca1b610 Refactor out the vcpkg cmake code 2021-09-27 16:33:06 +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
b9a5169eab
Merge pull request #32 from mod-cpp/olafurw/ai_exercise
Merging AI exercise code into the repository.
2021-09-22 14:22:47 +02:00
Ólafur Waage
a951c19a05 Changes after code review. 2021-09-22 14:15:33 +02:00
Ólafur Waage
260adb54db Fixes for clang-tidy. 2021-09-22 14:06:17 +02:00
Ólafur Waage
a41d8e3f82 Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-22 13:56:41 +02:00
Ólafur Waage
8a992f19c0 Updates about the small exercises. 2021-09-22 13:56:36 +02:00
Patricia Aas
899556fab2 Move exercises to it's own directory 2021-09-22 13:32:35 +02:00
Ólafur Waage
125c55f176 Adding pellet test and renaming helpers. 2021-09-21 16:34:26 +02:00
Ólafur Waage
4b9f88013d Adding missing chapters from exercises. 2021-09-21 14:48:37 +02:00
Ólafur Waage
e99237c0ec Some ideas for the smaller exercises. 2021-09-21 14:32:32 +02:00
cor3ntin
7c2bcb36a3 Fix cmake presets on windows 2021-09-20 19:11:19 +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
Corentin Jabot
c3555620e0 OSX presets 2021-09-19 14:21:38 +02:00
Corentin Jabot
9330546e3a Add a CMakePresests,json file to simplify IDE integration 2021-09-19 11:56:40 +02:00
Corentin Jabot
3cf9280957 Recommend some useful vscode extension automatically 2021-09-19 11:26:43 +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
6e29a1e960 Add vscode configuration 2021-09-17 15:09:44 +02:00
Corentin Jabot
d30a831f55 Cleanup organisation 2021-09-17 14:54:54 +02:00
Ólafur Waage
0712db77bb Initial helper functions for PacMan AI. Not complete. 2021-09-16 16:36:57 +02:00
Ólafur Waage
8415048809 Merge branch 'main' of github.com:mod-cpp/pacman 2021-09-16 11:33:49 +02:00
Ólafur Waage
2f74cd6a62 Updating exercises. 2021-09-16 11:33:38 +02:00
Ólafur Waage
0c8bc38b7d
Merge pull request #31 from mod-cpp/olafurw/fruit_tests
Adding unit tests for fruits. Also some minor cleanup.
2021-09-15 14:44:48 +02:00
Ólafur Waage
cd86d91310 Adding unit tests for fruits. Also some minor cleanup. 2021-09-15 14:40:07 +02:00
Ólafur Waage
0923351045
Merge pull request #30 from mod-cpp/corentin/fruits
Basic fruits support
2021-09-15 13:46:06 +02:00
Ólafur Waage
2afe8f1d36 Fixing tidy error. 2021-09-15 13:42:52 +02:00
Ólafur Waage
ed6466a306 Fixing forward decl issue and conversion error. 2021-09-15 13:39:42 +02:00
Ólafur Waage
e16bc405d7 Adding rough outline of bot/ai exercises. 2021-09-13 15:07:04 +02:00
Ólafur Waage
acc49c9593 Adding ghost exercises. 2021-09-13 14:50:41 +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
c95fddc481 Adding rough outline of teleport exercises. 2021-09-13 13:44:52 +02:00
Ólafur Waage
a3b1d30a4c Adding an outline for a set of exercises. 2021-09-13 13:13:43 +02:00
Corentin Jabot
d49e1efbc1 Replace gtest by catch 2021-09-11 17:10:12 +02:00
Corentin Jabot
f385036bee Disable clang-tidy clechs which create false positive in gtest 2021-09-11 09:42:53 +02:00
Patricia Aas
2cbb9df80d Don't use WarningsAsErrors yet 2021-09-10 17:01:34 +02:00
Patricia Aas
5b0629758f Try to set the build path correctly 2021-09-10 16:53:21 +02:00
Patricia Aas
bf0d90c76a Create compilation database correctly 2021-09-10 16:50:17 +02:00
Patricia Aas
b8d7f005fc Add WarningsAsErrors in clang-tidy.yml 2021-09-10 16:49:06 +02:00
Patricia Aas
d97731dc0b Install linux deps 2021-09-10 16:39:41 +02:00
Patricia Aas
b708633c95 Add cache to clang-tidy.yml 2021-09-10 16:33:53 +02:00
Patricia Aas
ee46bd4576
Try to run clang tidy 2021-09-10 16:30:11 +02:00
Patricia Aas
64d30408c6 Fix typos 2021-09-10 16:20:38 +02:00
Patricia Aas
a06281f145 Initialize member 2021-09-10 16:20:38 +02:00
Corentin Jabot
4b364bdda8 Enable tests on CI 2021-09-10 15:55:59 +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
Patricia Aas
5521dd25b6 Fix cache name 2021-09-10 15:14:56 +02:00
Corentin Jabot
bc83fa77c3 Fix conversions warnings 2021-09-10 15:04:43 +02:00