Commit graph

  • d0ab367bee Merge branch 'main' of github.com:mod-cpp/pacman Ólafur Waage 2021-09-10 12:21:13 +0200
  • b7c312ebd7 Adding global to cmake property. Ólafur Waage 2021-09-10 12:21:05 +0200
  • 43f3514b04 make set_property global Patricia Aas 2021-09-10 12:19:31 +0200
  • 9f64660938 use project to set language Patricia Aas 2021-09-10 12:19:12 +0200
  • b30d71ac96 Set C++ version to 17 Patricia Aas 2021-09-10 11:42:46 +0200
  • 706c6245a5 Capture local explicitly Patricia Aas 2021-09-10 11:41:20 +0200
  • 0f7ad08ae9 Add missing include Patricia Aas 2021-09-10 11:41:00 +0200
  • 6d79a0862d Merge branch 'main' of github.com:mod-cpp/pacman Ólafur Waage 2021-09-10 11:36:46 +0200
  • 06cb7a17f6 Fix the build again Corentin Jabot 2021-09-10 11:35:26 +0200
  • d9536b94ea Merge branch 'main' of github.com:mod-cpp/pacman Ólafur Waage 2021-09-10 11:35:24 +0200
  • 7fbe29740c Adding MSVC_RUNTIME_LIBRARY to global property. Ólafur Waage 2021-09-10 11:35:15 +0200
  • 8db4b0af79 Fix the build (this is why you make PRs kids) Corentin Jabot 2021-09-10 11:24:24 +0200
  • e07616ea52 Merge branch 'main' of github.com:mod-cpp/pacman Ólafur Waage 2021-09-10 11:04:44 +0200
  • 453dd17d7c Use size_t again Corentin Jabot 2021-09-10 11:02:37 +0200
  • 54ec3bcdf9 Don't use submodule anymore we are using FetchContent Patricia Aas 2021-09-10 10:59:00 +0200
  • b3e63d766a Removing const from non reference argument Ólafur Waage 2021-09-10 10:54:44 +0200
  • 434875e344
    Merge pull request #26 from mod-cpp/owaage_test_refactor Ólafur Waage 2021-09-10 10:23:17 +0200
  • 1ad8a1ec8e Adding simple deterministic fuzz test for GameState. Ólafur Waage 2021-09-09 11:15:31 +0200
  • 2f62f7ae1d Reverting pellet C++20 changes since we don't target 20 fully. Ólafur Waage 2021-09-09 10:59:59 +0200
  • 613831f1c0 Fixes for ghost movement where they would occationally exit the stage when cornered. Closes #25 Ólafur Waage 2021-09-09 10:56:29 +0200
  • 60b3cdeb40 Formatting and const fixes. Also check for extra canGo calls. Ólafur Waage 2021-09-08 14:49:43 +0200
  • b79b2a29e8 Using std::erase for pellets possible in C++20 Ólafur Waage 2021-09-08 10:21:37 +0200
  • 55fbb53591 Refactoring Game and GameState. Moving game state update logic into that class. Game is now only event loop. Ólafur Waage 2021-09-07 16:00:19 +0200
  • ee4b216056 Adding ghost dead test. Ólafur Waage 2021-09-07 15:30:48 +0200
  • cbe5798590 Adding a couple of Ghost tests. Ólafur Waage 2021-09-07 11:25:45 +0200
  • aa45121bec Minor formatting and warning fixes. Ólafur Waage 2021-09-06 16:40:42 +0200
  • d0bd69aee1 Removing unnecessary forward decl. Ólafur Waage 2021-09-06 16:27:29 +0200
  • 00bfd15074 Adding epsilon test for Position. Also adding tests for GridPosition and Position. Ólafur Waage 2021-09-06 16:24:30 +0200
  • 4c47509d1b Cleanup of how tests are discovered. Prefix not needed or used. Ólafur Waage 2021-09-06 16:00:48 +0200
  • 27517cdfa6 Seperating test files from the main test cpp file. Ólafur Waage 2021-09-06 15:54:19 +0200
  • fe32b18d0c Isolating SFML to the Canvas class. Ólafur Waage 2021-09-06 15:38:40 +0200
  • aa22b91e8b Adding header files to their own folder in the project. Ólafur Waage 2021-09-06 14:51:01 +0200
  • b55e654cce Adding MTd for statically linking in Windows due to asan dll's not being in path by default. Ólafur Waage 2021-09-02 10:37:03 +0200
  • 586ad62fed Lowering cmake version to 3.16 since that's the version ubuntu 20.04 LTS uses. Olafur Waage 2021-08-27 15:32:31 +0200
  • f1e0430874
    Corrected spelling of pick. Ólafur Waage 2021-08-27 14:23:50 +0200
  • d196491ea4 Rename variable and remove unneeded curlies Patricia Aas 2021-08-25 11:26:13 +0200
  • 4b7015b96b Remove unneeded init Patricia Aas 2021-08-25 11:23:54 +0200
  • af1c650727 Be more explicit about captures Corentin Jabot 2021-08-12 10:19:54 +0200
  • b3798ef2df Remove a nodiscard Corentin Jabot 2021-08-12 10:18:51 +0200
  • c3440d7eba use FetchContent instead nicole mazzuca 2021-08-03 15:10:53 -0700
  • eaf61585ea Fix Clang-Tidy warnings Patricia Aas 2021-08-02 16:43:18 +0200
  • 71e412696d Add link to README.md Patricia Aas 2021-08-02 16:42:30 +0200
  • abaa4f6381 Try VCPKG_CHAINLOAD_TOOLCHAIN_FILE again Patricia Aas 2021-08-02 15:46:49 +0200
  • 76c931656f Remove nodiscard Corentin Jabot 2021-08-02 15:31:32 +0200
  • d3cc1d90c7 Fix warnings Patricia Aas 2021-08-02 15:28:07 +0200
  • d4ae224a67 Fix toolchain file path Corentin Jabot 2021-08-02 14:48:44 +0200
  • 2cc15c6dcb add toolchain file Corentin Jabot 2021-08-02 14:29:25 +0200
  • c10eb99336 Early return in Clyde Patricia Aas 2021-08-02 14:24:11 +0200
  • ab9664d07f Name changes and typos Patricia Aas 2021-08-02 14:09:03 +0200
  • 335f15e276 Add a .clang-tidy file Patricia Aas 2021-08-02 14:07:57 +0200
  • 17ac48f713 Implement ghost movements Corentin Jabot 2021-07-29 11:16:08 +0200
  • 43ccaae3ef Rename variable Patricia Aas 2021-07-28 19:06:35 +0200
  • 99cf57956c Init pos Patricia Aas 2021-07-28 17:01:22 +0200
  • 4d53ccce18 Introduce scatterTarget function and inline things that should be in the ghost Patricia Aas 2021-07-28 16:39:27 +0200
  • f31d238bd4 Rename speedy, remove starting position Corentin Jabot 2021-07-28 16:20:19 +0200
  • 59484babef Update vcpkg Corentin Jabot 2021-07-28 13:59:47 +0200
  • 79b78f7dc0 Remove pacman:: Patricia Aas 2021-07-28 15:41:32 +0200
  • 71cb40ad18 Remove unused parameter Patricia Aas 2021-07-28 15:30:53 +0200
  • 5b2b0d8e73 Make files for ghosts Patricia Aas 2021-07-28 15:28:36 +0200
  • fe04e7d03a Cleanup PacManAnimation a bit Corentin Jabot 2021-07-19 12:06:27 +0200
  • d6a046ff47 Use the correct ghost names Corentin Jabot 2021-07-16 09:35:32 +0200
  • 0428366e86 Call reserve and add uncommited code Corentin Jabot 2021-07-16 09:19:10 +0200
  • 691aac978e Get rid of tuple Corentin Jabot 2021-07-15 09:14:25 +0200
  • 522362152d Refactor Patricia Aas 2021-07-13 14:26:57 +0200
  • 122f47e964 Add some notes on exercises Patricia Aas 2021-07-13 12:22:23 +0200
  • 43cfecc077 Get rid of unused comparison operator Corentin Jabot 2021-07-09 10:24:24 +0200
  • ee3c7c61db Simplify Patricia Aas 2021-07-08 18:12:03 +0200
  • 890d061a92 Move teleport to Board Patricia Aas 2021-07-08 18:00:39 +0200
  • 370a57f454 Get rid of board class Corentin Jabot 2021-07-08 17:42:24 +0200
  • e5e46a0e65 Create GameState Patricia Aas 2021-07-08 16:57:18 +0200
  • 8082c69aff Remove pointer Patricia Aas 2021-07-08 10:26:59 +0200
  • 3966987e2a Put the scaling function in a lib Corentin Jabot 2021-07-08 10:17:05 +0200
  • cbd19df739 Implement scaling. Corentin Jabot 2021-07-07 11:33:22 +0200
  • 98c223933f Fix test aswell Patricia Aas 2021-07-07 11:40:23 +0200
  • 3c638c057e No need to pass Board around Patricia Aas 2021-07-07 11:39:09 +0200
  • 705ea717e1 Introduce a scale function and clean up Patricia Aas 2021-07-07 11:09:53 +0200
  • ce7dd70332 Very rough stab at scaling Patricia Aas 2021-07-06 22:16:11 +0200
  • e9fb5dac77 Fix some warnings and clang tidy Patricia Aas 2021-07-07 11:24:12 +0200
  • dac3b12dc4 Explain how the ghosts move Corentin Jabot 2021-07-07 10:38:52 +0200
  • 5c982228c8 More font name fixes Patricia Aas 2021-07-06 20:48:29 +0200
  • 742f4ce56a Round doesn't make sense Patricia Aas 2021-07-06 17:11:49 +0200
  • 9bea9fdad9 Add back comment Patricia Aas 2021-07-06 17:11:18 +0200
  • 138f2df152 PacMan size is an integer Patricia Aas 2021-07-06 17:10:17 +0200
  • f7b53d9fca Don't use -> Patricia Aas 2021-07-06 17:09:42 +0200
  • a7a1565c99 Prettify Patricia Aas 2021-07-06 16:33:33 +0200
  • ab1e68a266 Add missing include Patricia Aas 2021-07-06 12:55:58 +0200
  • eb36d24b31 Make it possible use GridPosition with emplace_back Patricia Aas 2021-07-06 12:41:50 +0200
  • 30f69464dd Move over to size_t Patricia Aas 2021-07-06 12:35:23 +0200
  • 510e12a921 replace push_back with emplace_back Corentin Jabot 2021-07-06 10:07:35 +0200
  • 3197f334d1 Fix linux build Corentin Jabot 2021-07-05 17:19:35 +0200
  • 60095363f4 Put the code in a namespace Corentin Jabot 2021-07-05 14:10:01 +0200
  • d166f552f4 Simplify board code Corentin Jabot 2021-07-05 13:54:54 +0200
  • 7faadda5c0 Remove unused function Patricia Aas 2021-07-05 12:18:08 +0200
  • 727a2c5e76 Create an include Corentin Jabot 2021-07-05 12:02:26 +0200
  • 2dfd119c54 Fix cmake after renaming Patricia Aas 2021-07-05 11:49:12 +0200
  • e4991ab1dd Rename PositionInt Corentin Jabot 2021-07-05 11:46:49 +0200
  • a5bf577e26 Rename files and remove one Patricia Aas 2021-07-05 11:44:37 +0200
  • d23058f5b5 Rename folder Patricia Aas 2021-07-05 11:40:05 +0200
  • ba515eaca5 Replace floats by doubles Corentin Jabot 2021-07-05 11:40:10 +0200
  • b5b9d9c168 Rename ghosts Corentin Jabot 2021-07-05 11:29:32 +0200