From 5f91ce0947d46ae6ef473c1ea4d580a91750c98e Mon Sep 17 00:00:00 2001 From: Simon Wilkening Date: Sat, 12 Oct 2024 16:27:38 +0200 Subject: [PATCH] Server site map loading validation --- Projekte/battleship/client/maps/map3.json | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Projekte/battleship/client/maps/map3.json diff --git a/Projekte/battleship/client/maps/map3.json b/Projekte/battleship/client/maps/map3.json new file mode 100644 index 0000000..267f615 --- /dev/null +++ b/Projekte/battleship/client/maps/map3.json @@ -0,0 +1,66 @@ +{ + "width": 10, + "height": 10, + "ships": [ + { + "length": 4, + "x": 15, + "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