From 919a4c3d82e152ab2af27b4b5171a399de3992d7 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Mon, 30 Nov 2020 17:59:18 +0100 Subject: [PATCH] Add a solution for Pac-Man speed --- pacman/solution/SOLUTION.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pacman/solution/SOLUTION.md diff --git a/pacman/solution/SOLUTION.md b/pacman/solution/SOLUTION.md new file mode 100644 index 0000000..e10d705 --- /dev/null +++ b/pacman/solution/SOLUTION.md @@ -0,0 +1,11 @@ +# Pac-Man Soulutions + +## Make Pac-Man go slower +Increase the number you divide the delta with in [PacMan.cpp](../lib/PacMan.cpp) +~~~ +float_t position_delta = (time_delta.count() / 128.0); +~~~ +Example +~~~ +float_t position_delta = (time_delta.count() / 256.0); +~~~