From 6a01dc315b38a047d202b3924be5a84321db8226 Mon Sep 17 00:00:00 2001 From: mithe24 Date: Fri, 23 May 2025 19:24:52 +0200 Subject: Last commits. I won't be contributing anymore. (#27) * im done * feat(GameConfig): Adds immutability for GameConfig record * accidentally removed main menu button * throwing exceptions * Please stop using protected --- .../controller/src/main/resources/testConfig.json | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pacman/controller/src/main/resources/testConfig.json (limited to 'pacman/controller/src/main/resources/testConfig.json') diff --git a/pacman/controller/src/main/resources/testConfig.json b/pacman/controller/src/main/resources/testConfig.json new file mode 100644 index 0000000..1c07899 --- /dev/null +++ b/pacman/controller/src/main/resources/testConfig.json @@ -0,0 +1,41 @@ +{ + "powerModeDuration": 10.0, + "lives": 3, + "ghostSpeed": 2.5, + "numberOfItems": 36, + + "pacman": { + "x": 1, + "y": 1, + "speed": 3.0, + }, + "redGhost": { + "x": 7, + "y": 4 + }, + "blueGhost": { + "x": 7, + "y": 5 + }, + "pinkGhost": { + "x": 7, + "y": 6 + }, + "orangeGhost": { + "x": 7, + "y": 7 + }, + + "board": [ + ["W","W","W","W","W","W","W","W","W"], + ["W","p","p","p","P","p","p","p","W"], + ["E","p","W","W","p","W","W","p","E"], + ["W","p","W","W","p","W","W","p","W"], + ["W","p","W","W","p","W","W","p","W"], + ["W","P","p","p","P","p","p","P","W"], + ["W","p","W","W","p","W","W","p","W"], + ["E","p","W","W","p","W","W","p","E"], + ["W","p","p","p","P","p","p","p","W"], + ["W","W","W","W","W","W","W","W","W"] + ] +} -- cgit v1.2.3-70-g09d2