From 30d129735ced6670c5754e59d758669bc8cda470 Mon Sep 17 00:00:00 2001 From: Simon Wilkening Date: Sat, 12 Oct 2024 16:29:53 +0200 Subject: [PATCH] Added map3 with ship out of map Added map4 with ship colliding each other --- Projekte/battleship/client/maps/map4.json | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Projekte/battleship/client/maps/map4.json diff --git a/Projekte/battleship/client/maps/map4.json b/Projekte/battleship/client/maps/map4.json new file mode 100644 index 0000000..4c34ef0 --- /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": 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": 8, + "y": 0, + "rot": "RIGHT" + }, + { + "length": 1, + "x": 8, + "y": 0, + "rot": "RIGHT" + } + ] +} \ No newline at end of file