From 0ff5fceae73f4339849e92749140633ec050be16 Mon Sep 17 00:00:00 2001 From: Luca Puderbach Date: Sun, 6 Oct 2024 17:34:57 +0200 Subject: [PATCH] neue maps erstellt, 2->3. map2 out of bound, map4 overlaping --- Projekte/battleship/client/maps/map2.json | 2 +- Projekte/battleship/client/maps/map3.json | 66 +++++++++++++++++++++++ Projekte/battleship/client/maps/map4.json | 66 +++++++++++++++++++++++ 3 files changed, 133 insertions(+), 1 deletion(-) create mode 100644 Projekte/battleship/client/maps/map3.json create mode 100644 Projekte/battleship/client/maps/map4.json diff --git a/Projekte/battleship/client/maps/map2.json b/Projekte/battleship/client/maps/map2.json index 8862315..7f02ccd 100644 --- a/Projekte/battleship/client/maps/map2.json +++ b/Projekte/battleship/client/maps/map2.json @@ -23,7 +23,7 @@ { "length": 2, "x": 4, - "y": 8, + "y": 12, "rot": "RIGHT" }, { diff --git a/Projekte/battleship/client/maps/map3.json b/Projekte/battleship/client/maps/map3.json new file mode 100644 index 0000000..8862315 --- /dev/null +++ b/Projekte/battleship/client/maps/map3.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": 2, + "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 diff --git a/Projekte/battleship/client/maps/map4.json b/Projekte/battleship/client/maps/map4.json new file mode 100644 index 0000000..251bccf --- /dev/null +++ b/Projekte/battleship/client/maps/map4.json @@ -0,0 +1,66 @@ +{ + "width": 10, + "height": 10, + "ships": [ + { + "length": 4, + "x": 0, + "y": 5, + "rot": "DOWN" + }, + { + "length": 3, + "x": 0, + "y": 4, + "rot": "DOWN" + }, + { + "length": 3, + "x": 2, + "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