From a915d66e675b4c33f620ba1ec11d28449a2bb105 Mon Sep 17 00:00:00 2001 From: mhmdrz Date: Thu, 22 Sep 2022 21:24:11 +0330 Subject: [PATCH] New maps and settings used for main tournament --- maps/map4.json | 39 +++++++++++++++++++++++++++++++++ maps/map5.json | 44 ++++++++++++++++++++++++++++++++++++++ maps/map6.json | 44 ++++++++++++++++++++++++++++++++++++++ maps/map7.json | 42 ++++++++++++++++++++++++++++++++++++ maps/map8.json | 42 ++++++++++++++++++++++++++++++++++++ src/settings/setting4.json | 15 +++++++++++++ src/settings/setting5.json | 15 +++++++++++++ src/settings/setting6.json | 15 +++++++++++++ src/settings/setting7.json | 15 +++++++++++++ src/settings/setting8.json | 15 +++++++++++++ 10 files changed, 286 insertions(+) create mode 100644 maps/map4.json create mode 100644 maps/map5.json create mode 100644 maps/map6.json create mode 100644 maps/map7.json create mode 100644 maps/map8.json create mode 100644 src/settings/setting4.json create mode 100644 src/settings/setting5.json create mode 100644 src/settings/setting6.json create mode 100644 src/settings/setting7.json create mode 100644 src/settings/setting8.json diff --git a/maps/map4.json b/maps/map4.json new file mode 100644 index 0000000..e9fa313 --- /dev/null +++ b/maps/map4.json @@ -0,0 +1,39 @@ +{ + "width":17, + "height":10, + "player1_coordinate":[0,0], + "player2_coordinate":[4,16], + "player3_coordinate":[4,0], + "player4_coordinate":[0,16], + "treasury_coordinate":[8,8], + "walls":[[0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0], + [0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0], + [1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1], + [0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0], + [0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1], + [1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1], + [1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1], + [1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1]], + "fog_map": [[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0], + [0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0], + [0,0,1,0,0,0,0,1,1,1,0,0,0,0,1,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0], + [0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0], + [0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0], + [0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]], + "treasury_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,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [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,1,1,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0]] +} \ No newline at end of file diff --git a/maps/map5.json b/maps/map5.json new file mode 100644 index 0000000..c53ae78 --- /dev/null +++ b/maps/map5.json @@ -0,0 +1,44 @@ +{ + "width":13, + "height":11, + "player1_coordinate":[2,1], + "player2_coordinate":[8,11], + "player3_coordinate":[8,1], + "player4_coordinate":[2,11], + "treasury_coordinate":[5,6], + "walls":[[0,0,0,0,0,0,1,0,0,0,0,0,0], + [0,0,0,0,1,1,0,1,1,0,0,0,0], + [0,0,1,0,0,0,0,0,0,0,1,0,0], + [0,0,1,1,1,0,0,0,1,1,1,0,0], + [0,0,0,0,1,0,0,0,1,0,0,0,0], + [0,0,0,0,1,0,0,0,1,0,0,0,0], + [0,0,0,0,1,0,0,0,1,0,0,0,0], + [0,0,1,1,1,0,0,0,1,1,1,0,0], + [0,0,1,0,0,0,0,0,0,0,1,0,0], + [0,0,0,0,1,1,0,1,1,0,0,0,0], + [0,0,0,0,0,0,1,0,0,0,0,0,0]], + + "fog_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,0,0,0,0,0,0,0,0,0,0,0], + [0,0,1,0,0,0,0,0,0,0,1,0,0], + [0,0,1,0,0,0,0,0,0,0,1,0,0], + [0,0,1,0,0,0,0,0,0,0,1,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0]], + + "treasury_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,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,1,1,1,0,0,0,0,0], + [0,0,0,0,0,1,1,1,0,0,0,0,0], + [0,0,0,0,0,1,1,1,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,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/maps/map6.json b/maps/map6.json new file mode 100644 index 0000000..f04d03a --- /dev/null +++ b/maps/map6.json @@ -0,0 +1,44 @@ +{ + "width":17, + "height":11, + "player1_coordinate":[0,0], + "player2_coordinate":[10,16], + "player3_coordinate":[10,0], + "player4_coordinate":[0,16], + "treasury_coordinate":[9,8], + "walls":[[0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0], + [0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0], + [0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0], + [0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0], + [0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0], + [0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0], + [0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0], + [0,0,1,0,0,1,0,0,0,0,0,1,0,0,1,0,0], + [0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0], + [0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0], + [0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0]], + + "fog_map": [[0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0], + [0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0], + [0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,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,0,0,0,0,0,0,0], + [0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0], + [0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0], + [0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0]], + + "treasury_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,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], + [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,1,1,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0]] +} \ No newline at end of file diff --git a/maps/map7.json b/maps/map7.json new file mode 100644 index 0000000..28d94f9 --- /dev/null +++ b/maps/map7.json @@ -0,0 +1,42 @@ +{ + "width":11, + "height":11, + "player1_coordinate":[1,1], + "player2_coordinate":[1,2], + "player3_coordinate":[9,1], + "player4_coordinate":[9,2], + "treasury_coordinate":[5,9], + "walls":[[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,0,0,0,0,0,0,0,0], + [0,1,1,1,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,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,1,1,0,0,0,0,0,0,0], + [0,1,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0]], + "fog_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,1,1,1,1,1], + [0,0,0,0,0,0,1,1,1,1,1], + [0,0,0,0,0,0,1,1,0,0,0], + [0,0,0,0,0,0,1,1,0,0,0], + [0,0,0,0,0,0,1,1,0,0,0], + [0,0,0,0,0,0,1,1,1,1,1], + [0,0,0,0,0,0,1,1,1,1,1], + [0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0]], + "treasury_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,0,0,0], + [0,0,0,0,0,0,0,0,1,1,1], + [0,0,0,0,0,0,0,0,1,1,1], + [0,0,0,0,0,0,0,0,1,1,1], + [0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,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/maps/map8.json b/maps/map8.json new file mode 100644 index 0000000..9b37b8c --- /dev/null +++ b/maps/map8.json @@ -0,0 +1,42 @@ +{ + "width":11, + "height":11, + "player1_coordinate":[0,0], + "player2_coordinate":[10,0], + "player3_coordinate":[0,10], + "player4_coordinate":[10,10], + "treasury_coordinate":[5,5], + "walls":[[0,0,0,0,0,0,0,0,0,0,0], + [0,1,1,1,0,0,0,1,1,1,0], + [0,1,0,0,0,0,0,0,0,1,0], + [1,1,0,0,0,0,0,0,0,1,1], + [0,0,0,0,0,0,0,0,0,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,1,0,0,0,0,0,0,0,1,1], + [0,1,0,0,0,0,0,0,0,1,0], + [0,1,1,1,0,0,0,1,1,1,0], + [0,0,0,0,0,0,0,0,0,0,0]], + "fog_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], + [1,0,0,0,0,0,0,0,0,0,1], + [0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,1], + [0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0]], + "treasury_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,0,0,0], + [0,0,0,0,1,1,1,0,0,0,0], + [0,0,0,0,1,1,1,0,0,0,0], + [0,0,0,0,1,1,1,0,0,0,0], + [0,0,0,0,0,0,0,0,0,0,0], + [0,0,0,0,0,0,0,0,0,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/src/settings/setting4.json b/src/settings/setting4.json new file mode 100644 index 0000000..6c8d148 --- /dev/null +++ b/src/settings/setting4.json @@ -0,0 +1,15 @@ +{ + "rounds": 160, + "def_upgrade_cost": 1, + "atk_upgrade_cost": 1, + "cool_down_rate": 0.8, + "linear_attack_range": 3, + "ranged_attack_radius": 2, + "gold_count": 18, + "agent_sight_range": 9, + "timeout": 2, + "running_cpu_limit": 80, + "sleeping_cpu_limit": 10, + "memory_limit": 512 + } + \ No newline at end of file diff --git a/src/settings/setting5.json b/src/settings/setting5.json new file mode 100644 index 0000000..e277f0c --- /dev/null +++ b/src/settings/setting5.json @@ -0,0 +1,15 @@ +{ + "rounds": 175, + "def_upgrade_cost": 2, + "atk_upgrade_cost": 3, + "cool_down_rate": 0.5, + "linear_attack_range": 3, + "ranged_attack_radius": 2, + "gold_count": 13, + "agent_sight_range": 9, + "timeout": 2, + "running_cpu_limit": 80, + "sleeping_cpu_limit": 10, + "memory_limit": 512 + } + \ No newline at end of file diff --git a/src/settings/setting6.json b/src/settings/setting6.json new file mode 100644 index 0000000..c4e6226 --- /dev/null +++ b/src/settings/setting6.json @@ -0,0 +1,15 @@ +{ + "rounds": 280, + "def_upgrade_cost": 3, + "atk_upgrade_cost": 2, + "cool_down_rate": 0.5, + "linear_attack_range": 4, + "ranged_attack_radius": 3, + "gold_count": 28, + "agent_sight_range": 11, + "timeout": 2, + "running_cpu_limit": 80, + "sleeping_cpu_limit": 10, + "memory_limit": 512 + } + \ No newline at end of file diff --git a/src/settings/setting7.json b/src/settings/setting7.json new file mode 100644 index 0000000..54507e5 --- /dev/null +++ b/src/settings/setting7.json @@ -0,0 +1,15 @@ +{ + "rounds": 110, + "def_upgrade_cost": 3, + "atk_upgrade_cost": 2, + "cool_down_rate": 0.5, + "linear_attack_range": 3, + "ranged_attack_radius": 2, + "gold_count": 16, + "agent_sight_range": 9, + "timeout": 2, + "running_cpu_limit": 80, + "sleeping_cpu_limit": 10, + "memory_limit": 512 + } + \ No newline at end of file diff --git a/src/settings/setting8.json b/src/settings/setting8.json new file mode 100644 index 0000000..daf8cfa --- /dev/null +++ b/src/settings/setting8.json @@ -0,0 +1,15 @@ +{ + "rounds": 130, + "def_upgrade_cost": 1, + "atk_upgrade_cost": 1, + "cool_down_rate": 0.8, + "linear_attack_range": 3, + "ranged_attack_radius": 2, + "gold_count": 22, + "agent_sight_range": 9, + "timeout": 2, + "running_cpu_limit": 80, + "sleeping_cpu_limit": 10, + "memory_limit": 512 + } + \ No newline at end of file