diff --git a/.gitignore b/.gitignore
index 3ca60b0..07e6e47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-development/gulp/node_modules/
+/node_modules
diff --git a/development/gulp/.htmllintrc b/.htmllintrc
similarity index 100%
rename from development/gulp/.htmllintrc
rename to .htmllintrc
diff --git a/development/gulp/.stylelintrc.json b/.stylelintrc.json
similarity index 100%
rename from development/gulp/.stylelintrc.json
rename to .stylelintrc.json
diff --git a/development/gulp/eslint.json b/eslint.json
similarity index 100%
rename from development/gulp/eslint.json
rename to eslint.json
diff --git a/development/gulp/gulpfile.js b/gulpfile.js
similarity index 100%
rename from development/gulp/gulpfile.js
rename to gulpfile.js
diff --git a/homologation/api/js/map-0.js b/homologation/api/js/map-0.js
deleted file mode 100644
index 7850c1d..0000000
--- a/homologation/api/js/map-0.js
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 2,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 4,
- "sendToTile": 321
- },
- "door2": {
- "tile": 779,
- "sendToMap": 1,
- "sendToTile": 59
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/homologation/api/js/map-1.js b/homologation/api/js/map-1.js
deleted file mode 100644
index 8da7b77..0000000
--- a/homologation/api/js/map-1.js
+++ /dev/null
@@ -1,42 +0,0 @@
- {
- "row": 20,
- "column": 40,
- "position": {
- "player": 453,
- "door0": {
- "tile": 19,
- "sendToMap": 0,
- "sendToTile": 739
- }
- },
- "enemy": {
- "quantity": 5,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "4": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "5": "0, 1, 1, 1, 1, 1, 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1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "14": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "15": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "16": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
- }
\ No newline at end of file
diff --git a/homologation/api/js/map-2.js b/homologation/api/js/map-2.js
deleted file mode 100644
index 497a5d3..0000000
--- a/homologation/api/js/map-2.js
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 3,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 0,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "4": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "5": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "6": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "7": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "16": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/homologation/api/js/map-3.js b/homologation/api/js/map-3.js
deleted file mode 100644
index 7a67c27..0000000
--- a/homologation/api/js/map-3.js
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 7,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 2,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/homologation/api/js/map-4.js b/homologation/api/js/map-4.js
deleted file mode 100644
index ee6f78b..0000000
--- a/homologation/api/js/map-4.js
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 0,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 5,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/homologation/api/js/map-5.js b/homologation/api/js/map-5.js
deleted file mode 100644
index bcb7d40..0000000
--- a/homologation/api/js/map-5.js
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 4,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 6,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "4": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "5": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "14": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "15": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "16": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/homologation/api/js/map-6.js b/homologation/api/js/map-6.js
deleted file mode 100644
index ab8f170..0000000
--- a/homologation/api/js/map-6.js
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 5,
- "sendToTile": 358
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/homologation/api/js/map-7.js b/homologation/api/js/map-7.js
deleted file mode 100644
index 83f3288..0000000
--- a/homologation/api/js/map-7.js
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 359,
- "sendToMap": 3,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/homologation/api/js/player.js b/homologation/api/js/player.js
deleted file mode 100644
index 38aa97a..0000000
--- a/homologation/api/js/player.js
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "speed": 300,
- "life": 100,
- "lifeCurrent": 70,
- "hunger": 100,
- "hungerCurrent": 80,
- "thirst": 100,
- "thirstCurrent": 70
-}
\ No newline at end of file
diff --git a/homologation/api/js/save.js b/homologation/api/js/save.js
deleted file mode 100644
index 59cee05..0000000
--- a/homologation/api/js/save.js
+++ /dev/null
@@ -1 +0,0 @@
-save
\ No newline at end of file
diff --git a/homologation/assets/css/theme.css b/homologation/assets/css/theme.css
deleted file mode 100644
index bbea4b1..0000000
--- a/homologation/assets/css/theme.css
+++ /dev/null
@@ -1,302 +0,0 @@
-/* ------------------------------------------------------------------ SOCIAL */
-audio[controls],
-canvas,
-video {
- display: inline-block;
- zoom: 1; }
-
-audio:not([controls]) {
- display: none;
- height: 0; }
-
-hr {
- box-sizing: content-box;
- height: 0; }
-
-html,
-body {
- height: 100%;
- margin: 0;
- min-height: 100%;
- min-width: 100%;
- padding: 0;
- text-rendering: optimizeLegibility;
- width: 100%; }
-
-* {
- box-sizing: border-box; }
- *:focus {
- outline: none; }
- *:disabled {
- cursor: not-allowed; }
-
-textarea {
- overflow: auto;
- resize: vertical;
- vertical-align: top; }
-
-table,
-table td {
- border-collapse: collapse; }
-
-img {
- align-self: start;
- max-width: 100%; }
-
-.column {
- flex-direction: column;
- height: 100%; }
-
-.row {
- flex: 0 1 100%;
- flex-direction: row;
- flex-wrap: wrap; }
-
-.column,
-.row {
- display: flex; }
-
-.center {
- align-items: center;
- justify-content: center;
- text-align: center; }
-
-.left {
- align-items: flex-start;
- justify-content: flex-start;
- text-align: left; }
-
-.right {
- align-items: flex-end;
- justify-content: flex-end;
- text-align: right; }
-
-.modal {
- background-color: rgba(51, 51, 51, 0.5);
- bottom: 0;
- display: flex;
- left: 0;
- opacity: 1;
- overflow-x: hidden;
- overflow-y: auto;
- position: absolute;
- right: 0;
- top: 0;
- transition: 0.3s;
- z-index: 6; }
- .modal__header {
- display: flex;
- padding: 10px;
- position: relative;
- width: 100%;
- z-index: 7; }
- .modal__box {
- align-items: center;
- background-color: #ffffff;
- height: 100%;
- justify-content: center;
- margin: auto;
- pointer-events: initial;
- position: relative;
- transition: 0.3s;
- width: 100%; }
- .modal__content {
- padding: 10px;
- position: relative;
- width: 100%; }
- .modal--close {
- opacity: 0 !important;
- pointer-events: none !important;
- transition: 0.3s; }
- @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
- .modal--close {
- position: absolute;
- top: -100% !important; } }
- .modal--close * {
- pointer-events: none !important; }
-
-* {
- font-family: sans-serif;
- font-size: 16px; }
-
-.background {
- align-items: center;
- background-color: #ccd0d3;
- display: flex;
- height: 100%;
- justify-content: center;
- width: 100%; }
-
-.game-wrapper,
-.game {
- display: flex;
- height: 100%;
- max-height: 768px;
- max-width: 1366px;
- width: 100%; }
-
-.game-wrapper {
- box-shadow: inset 0px 0px 0px 1px #1100ff;
- overflow: hidden;
- position: relative; }
-
-.game {
- box-shadow: inset 0px 0px 0px 1px #dd1717;
- left: 0;
- position: absolute;
- top: 0; }
-
-.hide {
- font-size: 0;
- height: 0;
- margin: 0;
- padding: 0;
- pointer-events: none;
- visibility: hidden;
- width: 0; }
- .hide * {
- font-size: 0;
- height: 0;
- margin: 0;
- padding: 0;
- pointer-events: none;
- visibility: hidden;
- width: 0; }
-
-.map {
- display: flex;
- flex-wrap: wrap;
- left: 0;
- position: absolute;
- top: 0;
- z-index: 1; }
-
-.interface {
- display: flex;
- height: 100%;
- left: 0;
- position: absolute;
- top: 0;
- width: 100%;
- z-index: 5; }
- .interface__bar, .interface__directional, .interface__action {
- display: flex;
- padding: 10px;
- position: absolute; }
- .interface__bar {
- flex-direction: column;
- left: 0;
- top: 0; }
- .interface__directional {
- bottom: 0;
- flex-direction: column;
- left: 0; }
- .interface__action {
- bottom: 0;
- flex-direction: row;
- right: 0; }
-
-.loading-main {
- align-items: center;
- background-color: #333333;
- display: flex;
- flex: 0 1 100%;
- flex-direction: row;
- flex-wrap: wrap;
- height: 100%;
- justify-content: center;
- left: 0;
- opacity: 1;
- overflow: hidden;
- position: fixed;
- text-align: center;
- top: 0;
- width: 100%;
- z-index: 8; }
- .loading-main .loading {
- border-radius: 50%;
- color: #bec3c7;
- display: inline-block;
- font-size: 20px;
- height: 20px;
- margin: 20px;
- position: relative;
- text-indent: -9999em;
- transform: translateZ(0);
- width: 20px; }
- .loading-main .loading.animate {
- animation: loading-1 1.3s infinite linear; }
-
-@keyframes loading-1 {
- 0%,
- 100% {
- box-shadow: 0 -1.5em 0 0.1em, 1em -1em 0 0em, 1.5em 0 0 -0.5em, 1em 1em 0 -0.5em, 0 1.5em 0 -0.5em,
-1em 1em 0 -0.5em, -1.5em 0 0 -0.5em, -1em -1em 0 0; }
- 12.5% {
- box-shadow: 0 -1.5em 0 0, 1em -1em 0 0.1em, 1.5em 0 0 0, 1em 1em 0 -0.5em, 0 1.5em 0 -0.5em, -1em 1em 0 -0.5em,
-1.5em 0 0 -0.5em, -1em -1em 0 -0.5em; }
- 25% {
- box-shadow: 0 -1.5em 0 -0.5em, 1em -1em 0 0, 1.5em 0 0 0.1em, 1em 1em 0 0, 0 1.5em 0 -0.5em, -1em 1em 0 -0.5em,
-1.5em 0 0 -0.5em, -1em -1em 0 -0.5em; }
- 37.5% {
- box-shadow: 0 -1.5em 0 -0.5em, 1em -1em 0 -0.5em, 1.5em 0em 0 0, 1em 1em 0 0.1em, 0 1.5em 0 0em, -1em 1em 0 -0.5em,
-1.5em 0em 0 -0.5em, -1em -1em 0 -0.5em; }
- 50% {
- box-shadow: 0 -1.5em 0 -0.5em, 1em -1em 0 -0.5em, 1.5em 0 0 -0.5em, 1em 1em 0 0em, 0 1.5em 0 0.1em, -1em 1em 0 0,
-1.5em 0em 0 -0.5em, -1em -1em 0 -0.5em; }
- 62.5% {
- box-shadow: 0 -1.5em 0 -0.5em, 1em -1em 0 -0.5em, 1.5em 0 0 -0.5em, 1em 1em 0 -0.5em, 0 1.5em 0 0,
-1em 1em 0 0.1em, -1.5em 0 0 0, -1em -1em 0 -0.5em; }
- 75% {
- box-shadow: 0em -1.5em 0 -0.5em, 1em -1em 0 -0.5em, 1.5em 0em 0 -0.5em, 1em 1em 0 -0.5em, 0 1.5em 0 -0.5em,
-1em 1em 0 0, -1.5em 0em 0 0.1em, -1em -1em 0 0; }
- 87.5% {
- box-shadow: 0em -1.5em 0 0, 1em -1em 0 -0.5em, 1.5em 0 0 -0.5em, 1em 1em 0 -0.5em, 0 1.5em 0 -0.5em, -1em 1em 0 0,
-1.5em 0em 0 0, -1em -1em 0 0.1em; } }
-
-.tile {
- display: inline-flex;
- height: 50px;
- width: 50px; }
- .tile--0 {
- background-color: #1f8d4e; }
- .tile--1 {
- background-color: #2dcc70; }
- .tile--2 {
- background-color: #68de99; }
-
-.enemy {
- border-radius: 50%;
- font-size: 10px;
- left: 0;
- position: absolute;
- top: 0;
- z-index: 3; }
- .enemy--0 {
- background-color: #3297db; }
- .enemy--1 {
- background-color: #217cb9; }
-
-.item {
- border-radius: 50%;
- font-size: 10px;
- left: 0;
- position: absolute;
- top: 0;
- z-index: 2; }
- .item--0 {
- background-color: #f1c50e; }
- .item--1 {
- background-color: #c19e0b; }
-
-.player {
- background-color: #e14b4a;
- left: 0;
- position: absolute;
- top: 0;
- z-index: 4; }
-
-.item-wrapper {
- align-items: center;
- border: 1px solid #bec3c7;
- display: inline-flex;
- flex-direction: column;
- padding: 10px; }
- .item-wrapper .item {
- position: relative; }
- .item-wrapper .input {
- margin-top: 10px;
- padding: 10px;
- text-align: center; }
diff --git a/homologation/assets/js/theme.js b/homologation/assets/js/theme.js
deleted file mode 100644
index 56ca74d..0000000
--- a/homologation/assets/js/theme.js
+++ /dev/null
@@ -1,1090 +0,0 @@
-class Animation {
- move(obj) {
- return new Promise((resolve) => {
- const currentValue = window.helper.getTranslateValue(obj.target);
- const currentVertical = Math.floor(currentValue.y);
- const currentHorizontal = Math.floor(currentValue.x);
- const newVertical = typeof obj.vertical === 'undefined' ? currentVertical : Math.floor(obj.vertical);
- const newHorizontal = typeof obj.horizontal === 'undefined' ? currentHorizontal : Math.floor(obj.horizontal);
- const speed = typeof obj.speed === 'undefined' ? window.player.speed : obj.speed;
- const easing = typeof obj.easing === 'undefined' ? 'linear' : obj.easing;
-
- const animation = obj.target.animate([{
- transform: `translate(${currentHorizontal}px, ${currentVertical}px)`
- },
- {
- transform: `translate(${newHorizontal}px, ${newVertical}px)`
- }
- ], {
- duration: speed,
- iterations: 1,
- easing: easing,
- fill: 'both'
- });
-
- animation.onfinish = function (event) {
- resolve(event);
- };
- });
-
- }
-}
-
-window.animation = new Animation();
-class Backpack {
- constructor() {
- this.objItem = {};
- this.isUpdate = false;
- }
-
- addItem(target) {
- const item = Number(target.getAttribute('data-item'));
- const amount = Number(target.getAttribute('data-amount'));
-
- this.isUpdate = true;
-
- if (typeof this.objItem[item] === 'undefined') {
- this.objItem[item] = amount;
- } else {
- this.objItem[item] += amount;
- }
- }
-
- build() {
- let html = '';
-
- for (let i in this.objItem) {
- html += this.buildHtml(i, this.objItem[i]);
- }
-
- window.interface.elPageBackpackContent.innerHTML = html;
- }
-
- buildHtml(index, value) {
- return `
-
- `;
- }
-
- open() {
- window.modal.open('backpack');
-
- if (!this.isUpdate) {
- return;
- }
-
- this.isUpdate = false;
- this.build();
- }
-}
-
-window.backpack = new Backpack();
-class Camera {
- center() {
- const positionPlayer = window.helper.getTranslateValue(window.interface.elPlayer);
-
- this.update();
-
- window.animation.move({
- 'target': window.interface.elCamera,
- 'vertical': this.centerVertical(positionPlayer),
- 'horizontal': this.centerHorizontal(positionPlayer),
- 'speed': 0
- });
- }
-
- centerHorizontal(positionPlayer) {
- const position = Number(-positionPlayer.x + (window.interface.elGameWidth / 2) - window.map.tileSizeHalf);
-
- return this.centerLimit(position, this.limit.centerHorizontal);
- }
-
- centerVertical(positionPlayer) {
- const position = Number(-positionPlayer.y + (window.interface.elGameHeight / 2) - window.map.tileSizeHalf);
-
- return this.centerLimit(position, this.limit.centerVertical);
- }
-
- centerLimit(position, limit) {
- if (position < limit) {
- return limit;
- }
-
- if (position > 0) {
- return 0;
- }
-
- return position;
- }
-
- move(side) {
- const isWalkFalse = window.player.verifyWalk(side);
-
- if (isWalkFalse || window.player.isMoving) {
- return;
- }
-
- window.player.move(side);
- this.moveCamera(side);
- }
-
- moveCamera(side) {
- const limit = this.limit[side];
- const capitalize = window.helper.capitalize(side);
- const currentPosition = window.helper.getTranslateValue(window.interface.elCamera);
- const isLimit = this[`verifyLimit${capitalize}`]({
- limit,
- currentPosition
- });
-
- if (isLimit) {
- return;
- }
-
- this.moveCameraAnimate({
- side,
- currentPosition
- });
- }
-
- moveCameraAnimate(args) {
- const horizontal = args.currentPosition.x;
- const vertical = args.currentPosition.y;
- let value;
- let obj = {
- 'target': window.interface.elCamera
- };
-
- switch (args.side) {
- case 'down':
- value = Math.round(vertical - this.distance);
-
- if (Math.abs(window.camera.limit.down) - (Math.abs(vertical)) < this.distance) {
- value = window.camera.limit.down;
- }
-
- obj.vertical = value;
- break;
- case 'left':
- value = Math.round(horizontal + this.distance);
-
- if (Math.abs(horizontal) < this.distance) {
- value = window.camera.limit.left;
- }
-
- obj.horizontal = value;
- break;
- case 'up':
- value = Math.round(vertical + this.distance);
-
- if (Math.abs(value) <= this.distance) {
- value = this.limit.up;
- }
-
- obj.vertical = value;
- break;
- case 'right':
- value = Math.round(horizontal - this.distance);
-
- if ((window.interface.elGameWidth / 2) - this.distance - (Math.abs(horizontal)) < this.distance) {
- value = window.camera.limit.right * -1;
- }
-
- obj.horizontal = value;
- break;
- }
-
- window.animation.move(obj);
- }
-
- update() {
- this.distance = window.map.tileSize;
- this.limit = {
- 'centerVertical': Number(-(window.map.height - window.interface.elGameHeight)),
- 'centerHorizontal': Number(-(window.map.width - window.interface.elGameWidth)),
- 'up': 0,
- 'down': Math.abs(window.map.tileSize * window.map.json.row - window.interface.elGameHeight) * -1,
- 'left': 0,
- 'right': window.map.tileSize * window.map.json.column - window.interface.elGameWidth,
- };
- }
-
- verifyLimitDown(obj) {
- const limit = obj.currentPosition.y;
-
- return obj.limit > limit ? true : false;
- }
-
- verifyLimitLeft(obj) {
- const limit = obj.currentPosition.x;
-
- return obj.limit > limit ? false : true;
- }
-
- verifyLimitRight(obj) {
- const limit = Math.abs(obj.currentPosition.x);
-
- return obj.limit < limit ? true : false;
- }
-
- verifyLimitUp(obj) {
- const limit = obj.currentPosition.y;
-
- return obj.limit < limit ? true : false;
- }
-}
-
-window.camera = new Camera();
-class Craft {
-
- open() {
- window.modal.open('craft');
- }
-}
-
-window.craft = new Craft();
-class Data {
- constructor() {
- this.folderDefault = './api/';
- }
-
- loadMap(map) {
- const parameter = {
- controller: `${this.apiUrl}map-${map}.${this.extension}`,
- };
- let data = window.helper.ajax(parameter);
-
- data
- .then((result) => {
- window.map.buildMap(result);
- })
- .then(() => {
- this.loadPlayer();
- })
- .then(() => {
- window.enemy.build();
- this.save();
- });
- }
-
- loadPlayer() {
- if (window.player.isInitial) {
- window.player.isInitial = false;
- this.loadPlayerInitial();
- } else {
- window.loadingMain.hide();
- }
- }
-
- loadPlayerInitial() {
- const parameter = {
- controller: `${this.apiUrl}player.${this.extension}`,
- };
- let data = window.helper.ajax(parameter);
-
- data.then((result) => {
- window.player.buildPlayer(result);
- });
- }
-
- save() {
- const parameter = {
- controller: `${this.apiUrl}save.${this.extension}`,
- };
- let data = window.helper.ajax(parameter);
-
- data
- .then((result) => {
- console.log(result);
- });
- }
-
- update(obj) {
- this.extension = obj.extension;
- this.dataBase = obj.extension;
- this.apiUrl = `${this.folderDefault + this.extension}/`;
- }
-}
-
-window.data = new Data();
-class Enemy {
- constructor() {
- this.cssEnemy = 'enemy';
- }
-
- build() {
- this.enemyLength = window.map.json.enemy.quantity;
-
- const html = this.buildHtml();
-
- window.interface.elEnemy.innerHTML = html;
- this.setPosition();
- }
-
- buildHtml() {
- let html = '';
-
- for (let i = 0; i < this.enemyLength; i++) {
- let random = window.helper.raffleArray(window.map.json.enemy.kind);
-
- html += `
-
- Enemy ${i}
-
- `;
- }
-
- return html;
- }
-
- setPosition() {
- for (let i = 0; i < this.enemyLength; i++) {
- const target = document.querySelector(`#${this.cssEnemy}_${i}`);
- const position = window.map.rafflePosition();
-
- target.setAttribute('data-tile', position);
- window.map.position({
- target,
- position,
- });
- }
- }
-}
-
-window.enemy = new Enemy();
-class Game {
- initialize() {
- window.data.loadMap(window.map.current);
- }
-}
-
-window.game = new Game();
-class Helper {
- ajax(obj) {
- return new Promise((resolve, reject) => {
- let xhr = new XMLHttpRequest();
- const kind = typeof obj.kind === 'undefined' ? 'GET' : obj.kind;
-
- xhr.open(kind, obj.controller, true);
- xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
- xhr.onload = () => {
- if (xhr.status >= 200 && xhr.status < 300) {
- resolve(xhr.responseText);
- } else {
- reject(xhr.statusText);
- }
- };
- xhr.onerror = () => reject(xhr.statusText);
- xhr.send(obj.parameter);
- });
- }
-
- capitalize(target) {
- return target.charAt(0).toUpperCase() + target.slice(1);
- }
-
- getOffset(target) {
- if (!target) {
- return;
- }
-
- const rect = target.getBoundingClientRect();
-
- return {
- top: rect.top,
- right: rect.right,
- bottom: rect.bottom,
- left: rect.left
- };
- }
-
- getTranslateValue(target) {
- const style = window.getComputedStyle(target);
- const matrix = style['transform'];
-
- if (matrix === 'none') {
- return {
- x: 0,
- y: 0,
- z: 0
- };
- }
-
- const matrixType = matrix.includes('3d') ? '3d' : '2d';
- const matrixValues = matrix.match(/matrix.*\((.+)\)/)[1].split(', ');
-
- if (matrixType === '2d') {
- return {
- x: Number(matrixValues[4]),
- y: Number(matrixValues[5]),
- z: 0
- };
- }
-
- if (matrixType === '3d') {
- return {
- x: Number(matrixValues[12]),
- y: Number(matrixValues[13]),
- z: Number(matrixValues[14])
- };
- }
- }
-
- raffleNumber(obj) {
- return obj.minimum + Math.round((obj.maximum - obj.minimum) * Math.random());
- }
-
- raffleArray(array) {
- return array[Math.floor(Math.random() * array.length)];
- }
-
- remove(target) {
- if (target !== null) {
- target.parentNode.removeChild(target);
- }
- }
-}
-
-window.helper = new Helper();
-class Interface {
- build() {
- this.update();
- this.resize();
- this.buildAction();
- this.buildDirection();
- }
-
- buildAction() {
- this.elActionBackpack.onclick = () => {
- window.backpack.open();
- };
-
- this.elActionCraft.onclick = () => {
- window.craft.open();
- };
-
- this.elActionPick.onclick = () => {
- window.pick.pick();
- };
-
- this.elActionHit.onclick = () => {
- window.player.hit();
- };
- }
-
- buildDirection() {
- this.elDirectionalUp.onclick = () => {
- window.camera.move('up');
- };
-
- this.elDirectionalDown.onclick = () => {
- window.camera.move('down');
- };
-
- this.elDirectionalLeft.onclick = () => {
- window.camera.move('left');
- };
-
- this.elDirectionalRight.onclick = () => {
- window.camera.move('right');
- };
- }
-
- update() {
- this.elCamera = document.querySelector('#camera');
- this.elGame = document.querySelector('#game');
- this.elMap = document.querySelector('#map');
- this.elPlayer = document.querySelector('#player');
- this.elEnemy = document.querySelector(`#${window.enemy.cssEnemy}`);
- this.elResource = document.querySelector(`#${window.resource.cssResource}`);
- this.elPageBackpack = document.querySelector('#page_backpack');
- this.elPageBackpackContent = this.elPageBackpack.querySelector('.content');
- this.elPageCraft = document.querySelector('#page_craft');
- this.elPageCraftContent = this.elPageCraft.querySelector('.content');
-
- this.elBarLife = document.querySelector('[data-id="bar-life"]');
- this.elBarHunger = document.querySelector('[data-id="bar-hunger"]');
- this.elBarThirst = document.querySelector('[data-id="bar-thirst"]');
-
- this.elActionBackpack = document.querySelector('[data-id="action-backpack"]');
- this.elActionCraft = document.querySelector('[data-id="action-craft"]');
- this.elActionPick = document.querySelector('[data-id="action-pick"]');
- this.elActionHit = document.querySelector('[data-id="action-hit"]');
-
- this.elDirectionalUp = document.querySelector('[data-id="directional-up"]');
- this.elDirectionalDown = document.querySelector('[data-id="directional-down"]');
- this.elDirectionalLeft = document.querySelector('[data-id="directional-left"]');
- this.elDirectionalRight = document.querySelector('[data-id="directional-right"]');
- }
-
- updateBar() {
- this.elBarLife.setAttribute('value', player.lifeCurrent);
- this.elBarLife.setAttribute('max', player.life);
- this.elBarHunger.setAttribute('value', player.hungerCurrent);
- this.elBarHunger.setAttribute('max', player.hunger);
- this.elBarThirst.setAttribute('value', player.thirstCurrent);
- this.elBarThirst.setAttribute('max', player.thirst);
- }
-
- resize() {
- this.elGameWidth = this.elGame.offsetWidth;
- this.elGameHeight = this.elGame.offsetHeight;
- }
-}
-
-window.interface = new Interface();
-class Keyboard {
- build() {
- document.addEventListener('keydown', (event) => {
- this.buildAction(event.key);
- });
- }
-
- buildAction(key) {
- switch (key) {
- case 'Up':
- case 'ArrowUp':
- case 'w':
- window.camera.move('up');
- break;
- case 'Left':
- case 'ArrowLeft':
- case 'a':
- window.camera.move('left');
- break;
- case 'Down':
- case 'ArrowDown':
- case 's':
- window.camera.move('down');
- break;
- case 'Right':
- case 'ArrowRight':
- case 'd':
- window.camera.move('right');
- break;
- case 'Escape':
- window.modal.close();
- break;
- case 'b':
- window.backpack.open();
- break;
- case 'c':
- window.craft.open();
- break;
- case 'p':
- window.pick.pick();
- break;
- case 'h':
- window.player.hit();
- break;
- }
- }
-}
-
-window.keyboard = new Keyboard();
-class LoadingMain {
- constructor() {
- this.cssHide = 'hide';
- this.cssAnimation = 'animate';
- }
-
- update() {
- this.elWrapper = document.querySelector('.loading-main');
- this.elLoading = this.elWrapper.querySelector('.loading');
- }
-
- hide() {
- this.elWrapper.classList.add(this.cssHide);
- this.elLoading.classList.remove(this.cssAnimation);
- }
-
- show() {
- this.elWrapper.classList.remove(this.cssHide);
- this.elLoading.classList.add(this.cssAnimation);
- }
-}
-
-window.loadingMain = new LoadingMain();
-class Map {
- constructor() {
- this.current = 1;
- this.json = {};
- this.arr = [];
- this.arrWalkFalse = [0];
- this.arrDoor = [2];
- this.tileSize = 50;
- this.tileSizeHalf = this.tileSize / 2;
- this.tileId = 0;
- this.tileIdPrefix = 'tile_';
- this.tileTotal = 0;
- }
-
- buildMap(data) {
- this.json = JSON.parse(data);
- this.width = this.tileSize * this.json.column;
- this.height = this.tileSize * this.json.row;
-
- window.camera.update();
- this.update();
- this.convertArray();
- this.buildHtml();
- window.enemy.build();
- window.resource.build();
-
- if (!window.player.isInitial) {
- window.player.position();
- }
- }
-
- buildHtml() {
- const template = this.buildHtmlRow();
-
- window.interface.elMap.style.width = `${this.width}px`;
- window.interface.elMap.style.height = `${this.height}px`;
- window.interface.elMap.innerHTML = '';
- window.interface.elMap.insertAdjacentHTML('afterbegin', template);
- }
-
- buildHtmlRow() {
- let template = '';
-
- for (let i = 0; i < this.json.row; i++) {
- template += this.buildHtmlColumn(i);
- }
-
- return template;
- }
-
- buildHtmlColumn(i) {
- let template = '';
-
- for (let j = 0; j < this.json.column; j++) {
- let tile = this.arr[i][j];
- let trim = Number(tile.trim());
- let isWalkFalse = this.arrWalkFalse.includes(trim);
- let isDoor = this.arrDoor.includes(trim);
-
- if (isWalkFalse || isDoor) {
- this.arrForbidden.push(this.tileId);
- }
-
- template += `
`;
- this.tileId++;
- }
-
- return template;
- }
-
- convertArray() {
- const json = this.json.map;
- const length = Object.keys(json).length;
-
- for (let i = 0; i < length; i++) {
- let split = json[i].split(',');
- this.arr[i] = split;
- }
- }
-
- change() {
- const playerTile = window.player.tileCurrent;
- const json = window.map.json.position;
- let nextMap;
- let nextTile;
-
- window.loadingMain.show();
-
- for (let key in json) {
- if (json.hasOwnProperty(key)) {
- if (json[key].tile === playerTile) {
- nextMap = json[key].sendToMap;
- nextTile = json[key].sendToTile;
- }
- }
- }
-
- this.update();
- window.player.tileCurrent = nextTile;
- window.data.loadMap(nextMap);
- }
-
- position(obj) {
- const elTarget = obj.target;
-
- if (!elTarget) {
- return;
- }
-
- const tile = this.tileIdPrefix + obj.position;
- const elTile = document.querySelector(`#${tile}`);
- const elTilePosition = window.helper.getOffset(elTile);
- const elCameraPosition = window.helper.getOffset(window.interface.elCamera);
- const positionReset = {
- top: elTilePosition.top - elCameraPosition.top,
- left: elTilePosition.left - elCameraPosition.left,
- };
-
- window.animation.move({
- 'target': elTarget,
- 'vertical': Math.round(positionReset.top),
- 'horizontal': Math.round(positionReset.left),
- 'speed': 0,
- });
- }
-
- rafflePosition() {
- let result = this.rafflePositionRandom();
-
- while (this.arrForbidden.includes(result)) {
- result = this.rafflePositionRandom();
- }
-
- this.arrForbidden.push(result);
- return result;
- }
-
- rafflePositionRandom() {
- return window.helper.raffleNumber({
- 'minimum': 0,
- 'maximum': window.map.tileTotal
- });
- }
-
- removeItem(target) {
- window.helper.remove(target);
- }
-
- verifyDoor(tile) {
- return this.verifyTile({
- tile,
- 'arr': 'arrDoor'
- });
- }
-
- verifyResource(tile) {
- const isInArray = this.arrResource.includes(tile);
-
- return isInArray;
- }
-
- verifyWalk(tile) {
- return this.verifyTile({
- tile,
- 'arr': 'arrWalkFalse'
- });
- }
-
- verifyTile(obj) {
- const target = document.querySelector(`#${this.tileIdPrefix}${obj.tile}`);
- const attribute = Number(target.getAttribute('data-tile'));
- const isInArray = this[obj.arr].includes(attribute);
-
- if (isInArray) {
- return true;
- } else {
- return false;
- }
- }
-
- update() {
- this.tileId = 0;
- this.tileTotal = window.map.json.row * window.map.json.column;
- this.arrForbidden = [];
- this.arrResource = [];
- }
-}
-
-window.map = new Map();
-class Modal {
- constructor() {
- this.cssModal = 'modal';
- this.cssClose = `${this.cssModal}--close`;
- this.cssHide = 'hide';
- }
-
- build() {
- this.update();
- this.buildAction();
- }
-
- buildAction() {
- this.elCloseButton.onclick = () => {
- this.close();
- };
- }
-
- close() {
- this.hidePage();
- this.elModal.classList.add(this.cssClose);
- }
-
- open(target) {
- const el = document.querySelector(`#page_${target}`);
-
- this.hidePage();
- this.elModal.classList.remove(this.cssClose);
- el.classList.remove(this.cssHide);
- }
-
- hidePage() {
- Array.prototype.forEach.call(this.elPage, (item) => {
- if (!item.classList.contains(this.cssHide)) {
- item.classList.add(this.cssHide);
- }
- });
- }
-
- update() {
- this.elModal = document.querySelector(`.${this.cssModal}`);
- this.elContent = document.querySelector(`.${this.cssModal}__content`);
- this.elPage = this.elContent.querySelectorAll('.page');
- this.elCloseButton = document.querySelector('#modal_close');
- }
-}
-
-window.modal = new Modal();
-class Pick {
- constructor() {
- this.isPick = false;
- }
-
- pick() {
- if (!this.isPick) {
- return;
- }
-
- const playerPosition = window.player.tileCurrent;
- const item = window.interface.elResource.querySelector(`[data-tile="${playerPosition}"]`);
-
- window.map.removeItem(item);
- window.backpack.addItem(item);
- }
-
- setPick(status) {
- const buttonPick = window.interface.elActionPick;
- const attribute = 'disabled';
-
- status ? buttonPick.removeAttribute(attribute) : buttonPick.setAttribute(attribute, '');
- this.isPick = status;
- }
-}
-
-window.pick = new Pick();
-class Player {
- constructor() {
- this.speed = 0;
- this.isMoving = false;
- this.isInitial = true;
- }
-
- buildPlayer(data) {
- this.buildVariable(data);
- window.interface.updateBar();
- this.position();
- window.loadingMain.hide();
- }
-
- buildVariable(data) {
- const json = JSON.parse(data);
-
- this.life = json.life;
- this.lifeCurrent = json.lifeCurrent;
- this.hunger = json.hunger;
- this.hungerCurrent = json.hungerCurrent;
- this.thirst = json.thirst;
- this.thirstCurrent = json.thirstCurrent;
- this.tileCurrent = window.map.json.position.player;
- this.speed = json.speed;
- }
-
- hit() {
- console.log('hit');
- }
-
- move(side) {
- const coordinates = this.moveCoordinates(side);
- let animate;
- let obj = {
- 'target': window.interface.elPlayer
- };
- const tileNext = typeof coordinates.tileNext !== 'undefined' ? obj.tileNext = coordinates.tileNext : undefined;
-
- if (typeof coordinates.vertical !== 'undefined') {
- obj.vertical = coordinates.vertical;
- }
-
- if (typeof coordinates.horizontal !== 'undefined') {
- obj.horizontal = coordinates.horizontal;
- }
-
- if (this.isMoving) {
- return;
- } else {
- this.isMoving = true;
- }
-
- animate = window.animation.move(obj);
- animate.then(() => this.moveSuccess({
- tileNext,
- side
- }));
- }
-
- moveSuccess(obj) {
- const isDoor = window.map.verifyDoor(obj.tileNext);
- const isResource = window.map.verifyResource(obj.tileNext);
-
- this.updatePosition({
- 'tileNext': obj.tileNext,
- 'side': obj
- });
-
- if (isDoor) {
- window.map.change();
- }
-
- window.pick.setPick(isResource);
- }
-
- moveCoordinates(side) {
- const tileColumn = window.map.json.column;
- const playerPosition = window.helper.getTranslateValue(window.interface.elPlayer);
- let obj = {};
-
- switch (side) {
- case 'up':
- obj.tileNext = this.tileCurrent - tileColumn;
- obj.vertical = playerPosition.y - window.camera.distance;
- break;
- case 'down':
- obj.tileNext = this.tileCurrent + tileColumn;
- obj.vertical = playerPosition.y + window.camera.distance;
- break;
- case 'left':
- obj.tileNext = this.tileCurrent - 1;
- obj.horizontal = playerPosition.x - window.camera.distance;
- break;
- case 'right':
- obj.tileNext = this.tileCurrent + 1;
- obj.horizontal = playerPosition.x + window.camera.distance;
- break;
- }
-
- return obj;
- }
-
- position() {
- window.map.position({
- 'target': window.interface.elPlayer,
- 'position': this.tileCurrent,
- });
- window.camera.center();
- }
-
- updatePosition(data) {
- this.isMoving = false;
- this.tileCurrent = data.tileNext;
-
- switch (data.side) {
- case 'up':
- this.currentVertical -= window.map.tileSize;
- break;
- case 'down':
- this.currentVertical += window.map.tileSize;
- break;
- case 'left':
- this.currentHorizontal -= window.map.tileSize;
- break;
- case 'right':
- this.currentHorizontal += window.map.tileSize;
- break;
- }
- }
-
- verifyWalk(side) {
- const coordinates = this.moveCoordinates(side);
- let obj = {
- 'target': window.interface.elPlayer
- };
- const tileNext = typeof coordinates.tileNext !== 'undefined' ? obj.tileNext = coordinates.tileNext : undefined;
- const isWalk = window.map.verifyWalk(tileNext);
-
- return isWalk;
- }
-}
-
-window.player = new Player();
-class Resource {
- constructor() {
- this.cssResource = 'resource';
- this.cssItem = 'item';
- }
-
- build() {
- this.resourceLength = window.map.json.resource.quantity;
-
- const html = this.buildHtml();
-
- window.interface.elResource.innerHTML = html;
- this.setPosition();
- }
-
- buildHtml() {
- let html = '';
-
- for (let i = 0; i < this.resourceLength; i++) {
- let random = window.helper.raffleArray(window.map.json.resource.kind);
-
- html += `
-
- Item ${i}
-
- `;
- }
-
- return html;
- }
-
- setPosition() {
- for (let i = 0; i < this.resourceLength; i++) {
- const target = document.querySelector(`#${this.cssItem}_${i}`);
- const position = window.map.rafflePosition();
-
- target.setAttribute('data-tile', position);
- window.map.arrResource.push(position);
- window.map.position({
- target,
- position,
- });
- }
- }
-}
-
-window.resource = new Resource();
-document.addEventListener('DOMContentLoaded', () => {
- window.data.update({
- 'extension': 'js',
- 'dataBase': 'localStorage'
- });
- window.loadingMain.update();
- window.modal.build();
- window.map.update();
- window.interface.build();
- window.keyboard.build();
- window.game.initialize();
-});
-
-window.addEventListener('resize', () => {
- window.interface.resize();
- window.camera.center();
-});
\ No newline at end of file
diff --git a/homologation/index.html b/homologation/index.html
deleted file mode 100644
index 2329cb6..0000000
--- a/homologation/index.html
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Open Source Adventure
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- backpack
-
-
-
- craft
-
-
-
-
-
-
-
-
-
-
-
-
-
- backpack
-
-
-
- craft
-
-
-
- pick
-
-
-
- hit
-
-
-
-
-
-
-
- up
-
-
-
- left
-
-
-
- right
-
-
-
- down
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/development/gulp/package-lock.json b/package-lock.json
similarity index 100%
rename from development/gulp/package-lock.json
rename to package-lock.json
diff --git a/development/gulp/package.json b/package.json
similarity index 100%
rename from development/gulp/package.json
rename to package.json
diff --git a/production/api/js/map-0.js b/production/api/js/map-0.js
deleted file mode 100644
index 7850c1d..0000000
--- a/production/api/js/map-0.js
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 2,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 4,
- "sendToTile": 321
- },
- "door2": {
- "tile": 779,
- "sendToMap": 1,
- "sendToTile": 59
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "4": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "5": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1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",
- "14": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "15": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "16": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/production/api/js/map-1.js b/production/api/js/map-1.js
deleted file mode 100644
index 8da7b77..0000000
--- a/production/api/js/map-1.js
+++ /dev/null
@@ -1,42 +0,0 @@
- {
- "row": 20,
- "column": 40,
- "position": {
- "player": 453,
- "door0": {
- "tile": 19,
- "sendToMap": 0,
- "sendToTile": 739
- }
- },
- "enemy": {
- "quantity": 5,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
- }
\ No newline at end of file
diff --git a/production/api/js/map-2.js b/production/api/js/map-2.js
deleted file mode 100644
index 497a5d3..0000000
--- a/production/api/js/map-2.js
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 3,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 0,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/production/api/js/map-3.js b/production/api/js/map-3.js
deleted file mode 100644
index 7a67c27..0000000
--- a/production/api/js/map-3.js
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 7,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 2,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "4": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "13": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "14": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "15": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "16": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/production/api/js/map-4.js b/production/api/js/map-4.js
deleted file mode 100644
index ee6f78b..0000000
--- a/production/api/js/map-4.js
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 0,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 5,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "4": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "5": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "6": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1,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 1, 1, 1, 1, 1, 1, 1, 0",
- "15": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "16": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/production/api/js/map-5.js b/production/api/js/map-5.js
deleted file mode 100644
index bcb7d40..0000000
--- a/production/api/js/map-5.js
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 4,
- "sendToTile": 358
- },
- "door1": {
- "tile": 359,
- "sendToMap": 6,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/production/api/js/map-6.js b/production/api/js/map-6.js
deleted file mode 100644
index ab8f170..0000000
--- a/production/api/js/map-6.js
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 320,
- "sendToMap": 5,
- "sendToTile": 358
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/production/api/js/map-7.js b/production/api/js/map-7.js
deleted file mode 100644
index 83f3288..0000000
--- a/production/api/js/map-7.js
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "row": 20,
- "column": 40,
- "position": {
- "player": 739,
- "door0": {
- "tile": 359,
- "sendToMap": 3,
- "sendToTile": 321
- }
- },
- "enemy": {
- "quantity": 20,
- "kind": [0, 1]
- },
- "resource": {
- "quantity": 10,
- "kind": [0, 1]
- },
- "map": {
- "0": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
- "1": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "2": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "3": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "4": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "5": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,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 1, 1, 1, 1, 1, 1, 1, 0",
- "14": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "15": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "16": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "17": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "18": "0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0",
- "19": "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
- }
-}
\ No newline at end of file
diff --git a/production/api/js/player.js b/production/api/js/player.js
deleted file mode 100644
index 38aa97a..0000000
--- a/production/api/js/player.js
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "speed": 300,
- "life": 100,
- "lifeCurrent": 70,
- "hunger": 100,
- "hungerCurrent": 80,
- "thirst": 100,
- "thirstCurrent": 70
-}
\ No newline at end of file
diff --git a/production/api/js/save.js b/production/api/js/save.js
deleted file mode 100644
index 59cee05..0000000
--- a/production/api/js/save.js
+++ /dev/null
@@ -1 +0,0 @@
-save
\ No newline at end of file
diff --git a/production/assets/css/theme.css b/production/assets/css/theme.css
deleted file mode 100644
index 6c3547b..0000000
--- a/production/assets/css/theme.css
+++ /dev/null
@@ -1 +0,0 @@
-@keyframes loading-1{0%,to{box-shadow:0 -1.5em 0 .1em,1em -1em 0 0,1.5em 0 0 -.5em,1em 1em 0 -.5em,0 1.5em 0 -.5em,-1em 1em 0 -.5em,-1.5em 0 0 -.5em,-1em -1em 0 0}12.5%{box-shadow:0 -1.5em 0 0,1em -1em 0 .1em,1.5em 0 0 0,1em 1em 0 -.5em,0 1.5em 0 -.5em,-1em 1em 0 -.5em,-1.5em 0 0 -.5em,-1em -1em 0 -.5em}25%{box-shadow:0 -1.5em 0 -.5em,1em -1em 0 0,1.5em 0 0 .1em,1em 1em 0 0,0 1.5em 0 -.5em,-1em 1em 0 -.5em,-1.5em 0 0 -.5em,-1em -1em 0 -.5em}37.5%{box-shadow:0 -1.5em 0 -.5em,1em -1em 0 -.5em,1.5em 0 0 0,1em 1em 0 .1em,0 1.5em 0 0,-1em 1em 0 -.5em,-1.5em 0 0 -.5em,-1em -1em 0 -.5em}50%{box-shadow:0 -1.5em 0 -.5em,1em -1em 0 -.5em,1.5em 0 0 -.5em,1em 1em 0 0,0 1.5em 0 .1em,-1em 1em 0 0,-1.5em 0 0 -.5em,-1em -1em 0 -.5em}62.5%{box-shadow:0 -1.5em 0 -.5em,1em -1em 0 -.5em,1.5em 0 0 -.5em,1em 1em 0 -.5em,0 1.5em 0 0,-1em 1em 0 .1em,-1.5em 0 0 0,-1em -1em 0 -.5em}75%{box-shadow:0 -1.5em 0 -.5em,1em -1em 0 -.5em,1.5em 0 0 -.5em,1em 1em 0 -.5em,0 1.5em 0 -.5em,-1em 1em 0 0,-1.5em 0 0 .1em,-1em -1em 0 0}87.5%{box-shadow:0 -1.5em 0 0,1em -1em 0 -.5em,1.5em 0 0 -.5em,1em 1em 0 -.5em,0 1.5em 0 -.5em,-1em 1em 0 0,-1.5em 0 0 0,-1em -1em 0 .1em}}audio[controls],canvas,video{display:inline-block;zoom:1}audio:not([controls]){display:none;height:0}hr{box-sizing:content-box;height:0}body,html{height:100%;margin:0;min-height:100%;min-width:100%;padding:0;text-rendering:optimizeLegibility;width:100%}*{box-sizing:border-box;font-family:sans-serif;font-size:16px}:focus{outline:0}:disabled{cursor:not-allowed}textarea{overflow:auto;resize:vertical;vertical-align:top}table,table td{border-collapse:collapse}img{align-self:start;max-width:100%}.column{flex-direction:column;height:100%}.row{flex:0 1 100%;flex-direction:row;flex-wrap:wrap}.column,.row{display:flex}.center{align-items:center;justify-content:center;text-align:center}.left{align-items:flex-start;justify-content:flex-start;text-align:left}.right{align-items:flex-end;justify-content:flex-end;text-align:right}.modal{background-color:rgba(51,51,51,.5);bottom:0;display:flex;left:0;opacity:1;overflow-x:hidden;overflow-y:auto;position:absolute;right:0;top:0;transition:.3s;z-index:6}.modal__box,.modal__header{position:relative;width:100%}.modal__header{display:flex;padding:10px;z-index:7}.modal__box{align-items:center;background-color:#fff;height:100%;justify-content:center;margin:auto;pointer-events:initial;transition:.3s}.modal__content{padding:10px;position:relative;width:100%}.modal--close{opacity:0!important;pointer-events:none!important;transition:.3s}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.modal--close{position:absolute;top:-100%!important}}.modal--close *{pointer-events:none!important}.background,.game,.game-wrapper{display:flex;height:100%;width:100%}.background{align-items:center;background-color:#ccd0d3;justify-content:center}.game,.game-wrapper{max-height:768px;max-width:1366px}.game-wrapper{box-shadow:inset 0 0 0 1px #10f;overflow:hidden;position:relative}.game{box-shadow:inset 0 0 0 1px #dd1717;left:0;position:absolute;top:0}.hide,.hide *{font-size:0;height:0;margin:0;padding:0;pointer-events:none;visibility:hidden;width:0}.interface,.map{display:flex;left:0;position:absolute;top:0}.map{flex-wrap:wrap;z-index:1}.interface{height:100%;width:100%;z-index:5}.interface__action,.interface__bar,.interface__directional{display:flex;padding:10px;position:absolute}.interface__bar{flex-direction:column;left:0;top:0}.interface__directional{bottom:0;flex-direction:column;left:0}.interface__action{bottom:0;flex-direction:row;right:0}.loading-main{align-items:center;background-color:#333;display:flex;flex:0 1 100%;flex-direction:row;flex-wrap:wrap;height:100%;justify-content:center;left:0;opacity:1;overflow:hidden;position:fixed;text-align:center;top:0;width:100%;z-index:8}.loading-main .loading{border-radius:50%;color:#bec3c7;display:inline-block;font-size:20px;height:20px;margin:20px;position:relative;text-indent:-9999em;transform:translateZ(0);width:20px}.loading-main .loading.animate{animation:loading-1 1.3s infinite linear}.tile{display:inline-flex;height:50px;width:50px}.tile--0{background-color:#1f8d4e}.tile--1{background-color:#2dcc70}.tile--2{background-color:#68de99}.enemy{border-radius:50%;font-size:10px;left:0;position:absolute;top:0;z-index:3}.enemy--0{background-color:#3297db}.enemy--1{background-color:#217cb9}.item{border-radius:50%;font-size:10px;left:0;position:absolute;top:0;z-index:2}.item--0{background-color:#f1c50e}.item--1{background-color:#c19e0b}.player{background-color:#e14b4a;left:0;position:absolute;top:0;z-index:4}.item-wrapper{align-items:center;border:1px solid #bec3c7;display:inline-flex;flex-direction:column;padding:10px}.item-wrapper .item{position:relative}.item-wrapper .input{margin-top:10px;padding:10px;text-align:center}
\ No newline at end of file
diff --git a/production/assets/js/theme.js b/production/assets/js/theme.js
deleted file mode 100644
index fdd5a37..0000000
--- a/production/assets/js/theme.js
+++ /dev/null
@@ -1 +0,0 @@
-class Animation{move(e){return new Promise(t=>{const i=window.helper.getTranslateValue(e.target),a=Math.floor(i.y),n=Math.floor(i.x),r=void 0===e.vertical?a:Math.floor(e.vertical),o=void 0===e.horizontal?n:Math.floor(e.horizontal),s=void 0===e.speed?window.player.speed:e.speed,l=void 0===e.easing?"linear":e.easing;e.target.animate([{transform:`translate(${n}px, ${a}px)`},{transform:`translate(${o}px, ${r}px)`}],{duration:s,iterations:1,easing:l,fill:"both"}).onfinish=function(e){t(e)}})}}window.animation=new Animation;class Backpack{constructor(){this.objItem={},this.isUpdate=!1}addItem(e){const t=Number(e.getAttribute("data-item")),i=Number(e.getAttribute("data-amount"));this.isUpdate=!0,void 0===this.objItem[t]?this.objItem[t]=i:this.objItem[t]+=i}build(){let e="";for(let t in this.objItem)e+=this.buildHtml(t,this.objItem[t]);window.interface.elPageBackpackContent.innerHTML=e}buildHtml(e,t){return`\n \n `}open(){window.modal.open("backpack"),this.isUpdate&&(this.isUpdate=!1,this.build())}}window.backpack=new Backpack;class Camera{center(){const e=window.helper.getTranslateValue(window.interface.elPlayer);this.update(),window.animation.move({target:window.interface.elCamera,vertical:this.centerVertical(e),horizontal:this.centerHorizontal(e),speed:0})}centerHorizontal(e){const t=Number(-e.x+window.interface.elGameWidth/2-window.map.tileSizeHalf);return this.centerLimit(t,this.limit.centerHorizontal)}centerVertical(e){const t=Number(-e.y+window.interface.elGameHeight/2-window.map.tileSizeHalf);return this.centerLimit(t,this.limit.centerVertical)}centerLimit(e,t){return e0?0:e}move(e){window.player.verifyWalk(e)||window.player.isMoving||(window.player.move(e),this.moveCamera(e))}moveCamera(e){const t=this.limit[e],i=window.helper.capitalize(e),a=window.helper.getTranslateValue(window.interface.elCamera);this[`verifyLimit${i}`]({limit:t,currentPosition:a})||this.moveCameraAnimate({side:e,currentPosition:a})}moveCameraAnimate(e){const t=e.currentPosition.x,i=e.currentPosition.y;let a,n={target:window.interface.elCamera};switch(e.side){case"down":a=Math.round(i-this.distance),Math.abs(window.camera.limit.down)-Math.abs(i)t}verifyLimitLeft(e){const t=e.currentPosition.x;return!(e.limit>t)}verifyLimitRight(e){const t=Math.abs(e.currentPosition.x);return e.limit{window.map.buildMap(e)}).then(()=>{this.loadPlayer()}).then(()=>{window.enemy.build(),this.save()})}loadPlayer(){window.player.isInitial?(window.player.isInitial=!1,this.loadPlayerInitial()):window.loadingMain.hide()}loadPlayerInitial(){const e={controller:`${this.apiUrl}player.${this.extension}`};window.helper.ajax(e).then(e=>{window.player.buildPlayer(e)})}save(){const e={controller:`${this.apiUrl}save.${this.extension}`};window.helper.ajax(e).then(e=>{console.log(e)})}update(e){this.extension=e.extension,this.dataBase=e.extension,this.apiUrl=`${this.folderDefault+this.extension}/`}}window.data=new Data;class Enemy{constructor(){this.cssEnemy="enemy"}build(){this.enemyLength=window.map.json.enemy.quantity;const e=this.buildHtml();window.interface.elEnemy.innerHTML=e,this.setPosition()}buildHtml(){let e="";for(let t=0;t\n Enemy ${t}\n \n `}return e}setPosition(){for(let e=0;e{let a=new XMLHttpRequest;const n=void 0===e.kind?"GET":e.kind;a.open(n,e.controller,!0),a.setRequestHeader("Content-type","application/x-www-form-urlencoded"),a.onload=(()=>{a.status>=200&&a.status<300?t(a.responseText):i(a.statusText)}),a.onerror=(()=>i(a.statusText)),a.send(e.parameter)})}capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}getOffset(e){if(!e)return;const t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left}}getTranslateValue(e){const t=window.getComputedStyle(e).transform;if("none"===t)return{x:0,y:0,z:0};const i=t.includes("3d")?"3d":"2d",a=t.match(/matrix.*\((.+)\)/)[1].split(", ");return"2d"===i?{x:Number(a[4]),y:Number(a[5]),z:0}:"3d"===i?{x:Number(a[12]),y:Number(a[13]),z:Number(a[14])}:void 0}raffleNumber(e){return e.minimum+Math.round((e.maximum-e.minimum)*Math.random())}raffleArray(e){return e[Math.floor(Math.random()*e.length)]}remove(e){null!==e&&e.parentNode.removeChild(e)}}window.helper=new Helper;class Interface{build(){this.update(),this.resize(),this.buildAction(),this.buildDirection()}buildAction(){this.elActionBackpack.onclick=(()=>{window.backpack.open()}),this.elActionCraft.onclick=(()=>{window.craft.open()}),this.elActionPick.onclick=(()=>{window.pick.pick()}),this.elActionHit.onclick=(()=>{window.player.hit()})}buildDirection(){this.elDirectionalUp.onclick=(()=>{window.camera.move("up")}),this.elDirectionalDown.onclick=(()=>{window.camera.move("down")}),this.elDirectionalLeft.onclick=(()=>{window.camera.move("left")}),this.elDirectionalRight.onclick=(()=>{window.camera.move("right")})}update(){this.elCamera=document.querySelector("#camera"),this.elGame=document.querySelector("#game"),this.elMap=document.querySelector("#map"),this.elPlayer=document.querySelector("#player"),this.elEnemy=document.querySelector(`#${window.enemy.cssEnemy}`),this.elResource=document.querySelector(`#${window.resource.cssResource}`),this.elPageBackpack=document.querySelector("#page_backpack"),this.elPageBackpackContent=this.elPageBackpack.querySelector(".content"),this.elPageCraft=document.querySelector("#page_craft"),this.elPageCraftContent=this.elPageCraft.querySelector(".content"),this.elBarLife=document.querySelector('[data-id="bar-life"]'),this.elBarHunger=document.querySelector('[data-id="bar-hunger"]'),this.elBarThirst=document.querySelector('[data-id="bar-thirst"]'),this.elActionBackpack=document.querySelector('[data-id="action-backpack"]'),this.elActionCraft=document.querySelector('[data-id="action-craft"]'),this.elActionPick=document.querySelector('[data-id="action-pick"]'),this.elActionHit=document.querySelector('[data-id="action-hit"]'),this.elDirectionalUp=document.querySelector('[data-id="directional-up"]'),this.elDirectionalDown=document.querySelector('[data-id="directional-down"]'),this.elDirectionalLeft=document.querySelector('[data-id="directional-left"]'),this.elDirectionalRight=document.querySelector('[data-id="directional-right"]')}updateBar(){this.elBarLife.setAttribute("value",player.lifeCurrent),this.elBarLife.setAttribute("max",player.life),this.elBarHunger.setAttribute("value",player.hungerCurrent),this.elBarHunger.setAttribute("max",player.hunger),this.elBarThirst.setAttribute("value",player.thirstCurrent),this.elBarThirst.setAttribute("max",player.thirst)}resize(){this.elGameWidth=this.elGame.offsetWidth,this.elGameHeight=this.elGame.offsetHeight}}window.interface=new Interface;class Keyboard{build(){document.addEventListener("keydown",e=>{this.buildAction(e.key)})}buildAction(e){switch(e){case"Up":case"ArrowUp":case"w":window.camera.move("up");break;case"Left":case"ArrowLeft":case"a":window.camera.move("left");break;case"Down":case"ArrowDown":case"s":window.camera.move("down");break;case"Right":case"ArrowRight":case"d":window.camera.move("right");break;case"Escape":window.modal.close();break;case"b":window.backpack.open();break;case"c":window.craft.open();break;case"p":window.pick.pick();break;case"h":window.player.hit()}}}window.keyboard=new Keyboard;class LoadingMain{constructor(){this.cssHide="hide",this.cssAnimation="animate"}update(){this.elWrapper=document.querySelector(".loading-main"),this.elLoading=this.elWrapper.querySelector(".loading")}hide(){this.elWrapper.classList.add(this.cssHide),this.elLoading.classList.remove(this.cssAnimation)}show(){this.elWrapper.classList.remove(this.cssHide),this.elLoading.classList.add(this.cssAnimation)}}window.loadingMain=new LoadingMain;class Map{constructor(){this.current=1,this.json={},this.arr=[],this.arrWalkFalse=[0],this.arrDoor=[2],this.tileSize=50,this.tileSizeHalf=this.tileSize/2,this.tileId=0,this.tileIdPrefix="tile_",this.tileTotal=0}buildMap(e){this.json=JSON.parse(e),this.width=this.tileSize*this.json.column,this.height=this.tileSize*this.json.row,window.camera.update(),this.update(),this.convertArray(),this.buildHtml(),window.enemy.build(),window.resource.build(),window.player.isInitial||window.player.position()}buildHtml(){const e=this.buildHtmlRow();window.interface.elMap.style.width=`${this.width}px`,window.interface.elMap.style.height=`${this.height}px`,window.interface.elMap.innerHTML="",window.interface.elMap.insertAdjacentHTML("afterbegin",e)}buildHtmlRow(){let e="";for(let t=0;t`,this.tileId++}return t}convertArray(){const e=this.json.map,t=Object.keys(e).length;for(let i=0;i{this.close()})}close(){this.hidePage(),this.elModal.classList.add(this.cssClose)}open(e){const t=document.querySelector(`#page_${e}`);this.hidePage(),this.elModal.classList.remove(this.cssClose),t.classList.remove(this.cssHide)}hidePage(){Array.prototype.forEach.call(this.elPage,e=>{e.classList.contains(this.cssHide)||e.classList.add(this.cssHide)})}update(){this.elModal=document.querySelector(`.${this.cssModal}`),this.elContent=document.querySelector(`.${this.cssModal}__content`),this.elPage=this.elContent.querySelectorAll(".page"),this.elCloseButton=document.querySelector("#modal_close")}}window.modal=new Modal;class Pick{constructor(){this.isPick=!1}pick(){if(!this.isPick)return;const e=window.player.tileCurrent,t=window.interface.elResource.querySelector(`[data-tile="${e}"]`);window.map.removeItem(t),window.backpack.addItem(t)}setPick(e){const t=window.interface.elActionPick;e?t.removeAttribute("disabled"):t.setAttribute("disabled",""),this.isPick=e}}window.pick=new Pick;class Player{constructor(){this.speed=0,this.isMoving=!1,this.isInitial=!0}buildPlayer(e){this.buildVariable(e),window.interface.updateBar(),this.position(),window.loadingMain.hide()}buildVariable(e){const t=JSON.parse(e);this.life=t.life,this.lifeCurrent=t.lifeCurrent,this.hunger=t.hunger,this.hungerCurrent=t.hungerCurrent,this.thirst=t.thirst,this.thirstCurrent=t.thirstCurrent,this.tileCurrent=window.map.json.position.player,this.speed=t.speed}hit(){console.log("hit")}move(e){const t=this.moveCoordinates(e);let i,a={target:window.interface.elPlayer};const n=void 0!==t.tileNext?a.tileNext=t.tileNext:void 0;void 0!==t.vertical&&(a.vertical=t.vertical),void 0!==t.horizontal&&(a.horizontal=t.horizontal),this.isMoving||(this.isMoving=!0,(i=window.animation.move(a)).then(()=>this.moveSuccess({tileNext:n,side:e})))}moveSuccess(e){const t=window.map.verifyDoor(e.tileNext),i=window.map.verifyResource(e.tileNext);this.updatePosition({tileNext:e.tileNext,side:e}),t&&window.map.change(),window.pick.setPick(i)}moveCoordinates(e){const t=window.map.json.column,i=window.helper.getTranslateValue(window.interface.elPlayer);let a={};switch(e){case"up":a.tileNext=this.tileCurrent-t,a.vertical=i.y-window.camera.distance;break;case"down":a.tileNext=this.tileCurrent+t,a.vertical=i.y+window.camera.distance;break;case"left":a.tileNext=this.tileCurrent-1,a.horizontal=i.x-window.camera.distance;break;case"right":a.tileNext=this.tileCurrent+1,a.horizontal=i.x+window.camera.distance}return a}position(){window.map.position({target:window.interface.elPlayer,position:this.tileCurrent}),window.camera.center()}updatePosition(e){switch(this.isMoving=!1,this.tileCurrent=e.tileNext,e.side){case"up":this.currentVertical-=window.map.tileSize;break;case"down":this.currentVertical+=window.map.tileSize;break;case"left":this.currentHorizontal-=window.map.tileSize;break;case"right":this.currentHorizontal+=window.map.tileSize}}verifyWalk(e){const t=this.moveCoordinates(e);let i={target:window.interface.elPlayer};const a=void 0!==t.tileNext?i.tileNext=t.tileNext:void 0;return window.map.verifyWalk(a)}}window.player=new Player;class Resource{constructor(){this.cssResource="resource",this.cssItem="item"}build(){this.resourceLength=window.map.json.resource.quantity;const e=this.buildHtml();window.interface.elResource.innerHTML=e,this.setPosition()}buildHtml(){let e="";for(let t=0;t\n Item ${t}\n \n `}return e}setPosition(){for(let e=0;e{window.data.update({extension:"js",dataBase:"localStorage"}),window.loadingMain.update(),window.modal.build(),window.map.update(),window.interface.build(),window.keyboard.build(),window.game.initialize()}),window.addEventListener("resize",()=>{window.interface.resize(),window.camera.center()});
\ No newline at end of file
diff --git a/production/index.html b/production/index.html
deleted file mode 100644
index 4babe3b..0000000
--- a/production/index.html
+++ /dev/null
@@ -1 +0,0 @@
-Open Source Adventure backpack craft pick hit
up left right down
\ No newline at end of file
diff --git a/development/.editorconfig b/src/.editorconfig
similarity index 100%
rename from development/.editorconfig
rename to src/.editorconfig
diff --git a/development/README.md b/src/README.md
similarity index 100%
rename from development/README.md
rename to src/README.md
diff --git a/development/css/sass/breakpoint.scss b/src/css/sass/breakpoint.scss
similarity index 100%
rename from development/css/sass/breakpoint.scss
rename to src/css/sass/breakpoint.scss
diff --git a/development/css/sass/color.scss b/src/css/sass/color.scss
similarity index 100%
rename from development/css/sass/color.scss
rename to src/css/sass/color.scss
diff --git a/development/css/sass/extend.scss b/src/css/sass/extend.scss
similarity index 100%
rename from development/css/sass/extend.scss
rename to src/css/sass/extend.scss
diff --git a/development/css/sass/function.scss b/src/css/sass/function.scss
similarity index 100%
rename from development/css/sass/function.scss
rename to src/css/sass/function.scss
diff --git a/development/css/sass/helper.scss b/src/css/sass/helper.scss
similarity index 100%
rename from development/css/sass/helper.scss
rename to src/css/sass/helper.scss
diff --git a/development/css/sass/index.scss b/src/css/sass/index.scss
similarity index 100%
rename from development/css/sass/index.scss
rename to src/css/sass/index.scss
diff --git a/development/css/sass/mixin.scss b/src/css/sass/mixin.scss
similarity index 100%
rename from development/css/sass/mixin.scss
rename to src/css/sass/mixin.scss
diff --git a/development/css/sass/size.scss b/src/css/sass/size.scss
similarity index 100%
rename from development/css/sass/size.scss
rename to src/css/sass/size.scss
diff --git a/development/css/sass/text.scss b/src/css/sass/text.scss
similarity index 100%
rename from development/css/sass/text.scss
rename to src/css/sass/text.scss
diff --git a/development/css/theme/align.scss b/src/css/theme/align.scss
similarity index 100%
rename from development/css/theme/align.scss
rename to src/css/theme/align.scss
diff --git a/development/css/theme/backpack.scss b/src/css/theme/backpack.scss
similarity index 100%
rename from development/css/theme/backpack.scss
rename to src/css/theme/backpack.scss
diff --git a/development/css/theme/enemy.scss b/src/css/theme/enemy.scss
similarity index 100%
rename from development/css/theme/enemy.scss
rename to src/css/theme/enemy.scss
diff --git a/development/css/theme/index.scss b/src/css/theme/index.scss
similarity index 100%
rename from development/css/theme/index.scss
rename to src/css/theme/index.scss
diff --git a/development/css/theme/item.scss b/src/css/theme/item.scss
similarity index 100%
rename from development/css/theme/item.scss
rename to src/css/theme/item.scss
diff --git a/development/css/theme/modal.scss b/src/css/theme/modal.scss
similarity index 100%
rename from development/css/theme/modal.scss
rename to src/css/theme/modal.scss
diff --git a/development/css/theme/player.scss b/src/css/theme/player.scss
similarity index 100%
rename from development/css/theme/player.scss
rename to src/css/theme/player.scss
diff --git a/development/css/theme/reset.scss b/src/css/theme/reset.scss
similarity index 100%
rename from development/css/theme/reset.scss
rename to src/css/theme/reset.scss
diff --git a/development/css/theme/theme.scss b/src/css/theme/theme.scss
similarity index 100%
rename from development/css/theme/theme.scss
rename to src/css/theme/theme.scss
diff --git a/development/css/theme/tile.scss b/src/css/theme/tile.scss
similarity index 100%
rename from development/css/theme/tile.scss
rename to src/css/theme/tile.scss
diff --git a/development/css/theme/variable.scss b/src/css/theme/variable.scss
similarity index 100%
rename from development/css/theme/variable.scss
rename to src/css/theme/variable.scss
diff --git a/development/api/js/map-0.js b/src/js/map-0.js
similarity index 100%
rename from development/api/js/map-0.js
rename to src/js/map-0.js
diff --git a/development/api/js/map-1.js b/src/js/map-1.js
similarity index 100%
rename from development/api/js/map-1.js
rename to src/js/map-1.js
diff --git a/development/api/js/map-2.js b/src/js/map-2.js
similarity index 100%
rename from development/api/js/map-2.js
rename to src/js/map-2.js
diff --git a/development/api/js/map-3.js b/src/js/map-3.js
similarity index 100%
rename from development/api/js/map-3.js
rename to src/js/map-3.js
diff --git a/development/api/js/map-4.js b/src/js/map-4.js
similarity index 100%
rename from development/api/js/map-4.js
rename to src/js/map-4.js
diff --git a/development/api/js/map-5.js b/src/js/map-5.js
similarity index 100%
rename from development/api/js/map-5.js
rename to src/js/map-5.js
diff --git a/development/api/js/map-6.js b/src/js/map-6.js
similarity index 100%
rename from development/api/js/map-6.js
rename to src/js/map-6.js
diff --git a/development/api/js/map-7.js b/src/js/map-7.js
similarity index 100%
rename from development/api/js/map-7.js
rename to src/js/map-7.js
diff --git a/development/api/js/player.js b/src/js/player.js
similarity index 100%
rename from development/api/js/player.js
rename to src/js/player.js
diff --git a/development/api/js/save.js b/src/js/save.js
similarity index 100%
rename from development/api/js/save.js
rename to src/js/save.js
diff --git a/development/template/include/interface-action.html b/src/template/include/interface-action.html
similarity index 100%
rename from development/template/include/interface-action.html
rename to src/template/include/interface-action.html
diff --git a/development/template/include/interface-bar.html b/src/template/include/interface-bar.html
similarity index 100%
rename from development/template/include/interface-bar.html
rename to src/template/include/interface-bar.html
diff --git a/development/template/include/interface-directional.html b/src/template/include/interface-directional.html
similarity index 100%
rename from development/template/include/interface-directional.html
rename to src/template/include/interface-directional.html
diff --git a/development/template/include/loading-main.html b/src/template/include/loading-main.html
similarity index 100%
rename from development/template/include/loading-main.html
rename to src/template/include/loading-main.html
diff --git a/development/template/include/modal.html b/src/template/include/modal.html
similarity index 100%
rename from development/template/include/modal.html
rename to src/template/include/modal.html
diff --git a/development/template/include/page-backpack.html b/src/template/include/page-backpack.html
similarity index 100%
rename from development/template/include/page-backpack.html
rename to src/template/include/page-backpack.html
diff --git a/development/template/include/page-craft.html b/src/template/include/page-craft.html
similarity index 100%
rename from development/template/include/page-craft.html
rename to src/template/include/page-craft.html
diff --git a/development/template/index.html b/src/template/index.html
similarity index 100%
rename from development/template/index.html
rename to src/template/index.html
diff --git a/development/js/theme/Animation.js b/src/theme/Animation.js
similarity index 100%
rename from development/js/theme/Animation.js
rename to src/theme/Animation.js
diff --git a/development/js/theme/Backpack.js b/src/theme/Backpack.js
similarity index 100%
rename from development/js/theme/Backpack.js
rename to src/theme/Backpack.js
diff --git a/development/js/theme/Camera.js b/src/theme/Camera.js
similarity index 100%
rename from development/js/theme/Camera.js
rename to src/theme/Camera.js
diff --git a/development/js/theme/Craft.js b/src/theme/Craft.js
similarity index 100%
rename from development/js/theme/Craft.js
rename to src/theme/Craft.js
diff --git a/development/js/theme/Data.js b/src/theme/Data.js
similarity index 100%
rename from development/js/theme/Data.js
rename to src/theme/Data.js
diff --git a/development/js/theme/Enemy.js b/src/theme/Enemy.js
similarity index 100%
rename from development/js/theme/Enemy.js
rename to src/theme/Enemy.js
diff --git a/development/js/theme/Game.js b/src/theme/Game.js
similarity index 100%
rename from development/js/theme/Game.js
rename to src/theme/Game.js
diff --git a/development/js/theme/Helper.js b/src/theme/Helper.js
similarity index 100%
rename from development/js/theme/Helper.js
rename to src/theme/Helper.js
diff --git a/development/js/theme/Interface.js b/src/theme/Interface.js
similarity index 100%
rename from development/js/theme/Interface.js
rename to src/theme/Interface.js
diff --git a/development/js/theme/Keyboard.js b/src/theme/Keyboard.js
similarity index 100%
rename from development/js/theme/Keyboard.js
rename to src/theme/Keyboard.js
diff --git a/development/js/theme/Loading.js b/src/theme/Loading.js
similarity index 100%
rename from development/js/theme/Loading.js
rename to src/theme/Loading.js
diff --git a/development/js/theme/Map.js b/src/theme/Map.js
similarity index 100%
rename from development/js/theme/Map.js
rename to src/theme/Map.js
diff --git a/development/js/theme/Modal.js b/src/theme/Modal.js
similarity index 100%
rename from development/js/theme/Modal.js
rename to src/theme/Modal.js
diff --git a/development/js/theme/Pick.js b/src/theme/Pick.js
similarity index 100%
rename from development/js/theme/Pick.js
rename to src/theme/Pick.js
diff --git a/development/js/theme/Player.js b/src/theme/Player.js
similarity index 100%
rename from development/js/theme/Player.js
rename to src/theme/Player.js
diff --git a/development/js/theme/Resource.js b/src/theme/Resource.js
similarity index 100%
rename from development/js/theme/Resource.js
rename to src/theme/Resource.js
diff --git a/development/js/theme/index.js b/src/theme/index.js
similarity index 100%
rename from development/js/theme/index.js
rename to src/theme/index.js
diff --git a/development/gulp/task/api.js b/task/api.js
similarity index 100%
rename from development/gulp/task/api.js
rename to task/api.js
diff --git a/development/gulp/task/configuration.js b/task/configuration.js
similarity index 100%
rename from development/gulp/task/configuration.js
rename to task/configuration.js
diff --git a/development/gulp/task/css.js b/task/css.js
similarity index 100%
rename from development/gulp/task/css.js
rename to task/css.js
diff --git a/development/gulp/task/helper.js b/task/helper.js
similarity index 100%
rename from development/gulp/task/helper.js
rename to task/helper.js
diff --git a/development/gulp/task/image.js b/task/image.js
similarity index 100%
rename from development/gulp/task/image.js
rename to task/image.js
diff --git a/development/gulp/task/js.js b/task/js.js
similarity index 100%
rename from development/gulp/task/js.js
rename to task/js.js
diff --git a/development/gulp/task/project.js b/task/project.js
similarity index 100%
rename from development/gulp/task/project.js
rename to task/project.js
diff --git a/development/gulp/task/template.js b/task/template.js
similarity index 100%
rename from development/gulp/task/template.js
rename to task/template.js
diff --git a/development/gulp/task/watch.js b/task/watch.js
similarity index 100%
rename from development/gulp/task/watch.js
rename to task/watch.js
diff --git a/development/gulp/task/webserver.js b/task/webserver.js
similarity index 100%
rename from development/gulp/task/webserver.js
rename to task/webserver.js