summaryrefslogtreecommitdiff
path: root/pacman/controller/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'pacman/controller/src/main/resources')
-rw-r--r--pacman/controller/src/main/resources/testConfig.json41
-rw-r--r--pacman/controller/src/main/resources/testGameState.json22
2 files changed, 41 insertions, 22 deletions
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"]
+ ]
+}
diff --git a/pacman/controller/src/main/resources/testGameState.json b/pacman/controller/src/main/resources/testGameState.json
deleted file mode 100644
index 48e333a..0000000
--- a/pacman/controller/src/main/resources/testGameState.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "pacman": {
- "x": 1,
- "y": 1,
- "speed": 3.0,
- "radius": 1.0
- },
-
- "itmes": [],
- "board": [
- ["W","W","W","W","W","W","W","W","W"],
- ["W","E","E","E","E","E","E","E","W"],
- ["E","E","W","W","E","W","W","E","E"],
- ["W","E","W","W","E","W","W","E","W"],
- ["W","E","W","W","E","W","W","E","W"],
- ["W","E","E","E","E","E","E","E","W"],
- ["W","E","W","W","E","W","W","E","W"],
- ["E","E","W","W","E","W","W","E","E"],
- ["W","E","E","E","E","E","E","E","W"],
- ["W","W","W","W","W","W","W","W","W"]
- ]
-}