From 0a66d3cbfdde43dc4d17bf5120ce2fdb1eebb255 Mon Sep 17 00:00:00 2001 From: Simon Wilkening Date: Sat, 12 Oct 2024 16:50:25 +0200 Subject: [PATCH] Added map5 ignoring zoc --- Projekte/battleship/client/maps/map4.json | 6 +-- Projekte/battleship/client/maps/map5.json | 66 +++++++++++++++++++++++ 2 files changed, 69 insertions(+), 3 deletions(-) create mode 100644 Projekte/battleship/client/maps/map5.json diff --git a/Projekte/battleship/client/maps/map4.json b/Projekte/battleship/client/maps/map4.json index 4c34ef0..724d68e 100644 --- a/Projekte/battleship/client/maps/map4.json +++ b/Projekte/battleship/client/maps/map4.json @@ -16,13 +16,13 @@ }, { "length": 3, - "x": 0, + "x": 2, "y": 6, "rot": "RIGHT" }, { "length": 2, - "x": 4, + "x": 0, "y": 8, "rot": "RIGHT" }, @@ -52,7 +52,7 @@ }, { "length": 1, - "x": 8, + "x": 6, "y": 0, "rot": "RIGHT" }, diff --git a/Projekte/battleship/client/maps/map5.json b/Projekte/battleship/client/maps/map5.json new file mode 100644 index 0000000..d999d5d --- /dev/null +++ b/Projekte/battleship/client/maps/map5.json @@ -0,0 +1,66 @@ +{ + "width": 10, + "height": 10, + "ships": [ + { + "length": 4, + "x": 0, + "y": 5, + "rot": "DOWN" + }, + { + "length": 3, + "x": 0, + "y": 9, + "rot": "DOWN" + }, + { + "length": 3, + "x": 0, + "y": 6, + "rot": "RIGHT" + }, + { + "length": 2, + "x": 4, + "y": 8, + "rot": "RIGHT" + }, + { + "length": 2, + "x": 2, + "y": 4, + "rot": "DOWN" + }, + { + "length": 2, + "x": 2, + "y": 1, + "rot": "DOWN" + }, + { + "length": 1, + "x": 6, + "y": 2, + "rot": "RIGHT" + }, + { + "length": 1, + "x": 8, + "y": 2, + "rot": "RIGHT" + }, + { + "length": 1, + "x": 6, + "y": 0, + "rot": "RIGHT" + }, + { + "length": 1, + "x": 8, + "y": 0, + "rot": "RIGHT" + } + ] +} \ No newline at end of file