aboutsummaryrefslogtreecommitdiffstats
path: root/maps
diff options
context:
space:
mode:
authornathan <thenathansmithsmith@gmail.com>2023-04-07 00:36:56 +0000
committernathan <thenathansmithsmith@gmail.com>2023-04-07 00:36:56 +0000
commit4fb3172f1baf4813fcc18259b971bfe121e5f116 (patch)
tree342a6106bb819f87a7099db45574494a72a1fffa /maps
downloadcolor_game-4fb3172f1baf4813fcc18259b971bfe121e5f116.tar.gz
color_game-4fb3172f1baf4813fcc18259b971bfe121e5f116.tar.bz2
color_game-4fb3172f1baf4813fcc18259b971bfe121e5f116.zip
first commit
Diffstat (limited to 'maps')
-rw-r--r--maps/default.json14
-rw-r--r--maps/map2.json10
2 files changed, 24 insertions, 0 deletions
diff --git a/maps/default.json b/maps/default.json
new file mode 100644
index 0000000..2b17099
--- /dev/null
+++ b/maps/default.json
@@ -0,0 +1,14 @@
+{
+ "size": {"w": 8, "h": 9},
+ "map": [
+ [0, 0, 0, 0, 0, 0, 8, 8],
+ [0, 0, 4, 3, 2, 0, 8, 4],
+ [6, 8, 8, 8, 8, 8, 8, 0],
+ [0, 8, 0, 8, 0, 8, 8, 0],
+ [0, 1, 8, 8, 8, 8, 0, 0],
+ [0, 0, 8, 0, 8, 8, 8, 8],
+ [0, 8, 8, 0, 8, 8, 8, 5],
+ [0, 0, 8, 0, 8, 0, 0, 0],
+ [0, 0, 2, 7, 8, 0, 0, 0]
+ ]
+}
diff --git a/maps/map2.json b/maps/map2.json
new file mode 100644
index 0000000..4b814e6
--- /dev/null
+++ b/maps/map2.json
@@ -0,0 +1,10 @@
+{
+ "size": {"w": 8, "h": 5},
+ "map": [
+ [1, 8, 8, 8, 8, 8, 8, 2],
+ [8, 8, 0, 0, 0, 0, 8, 8],
+ [8, 8, 7, 0, 0, 5, 8, 8],
+ [8, 8, 0, 0, 0, 0, 8, 8],
+ [3, 8, 8, 8, 8, 8, 8, 4]
+ ]
+}