Browse Source

Strategická: Oprava konfigurace her

master
Jiří Kalvoda 2 years ago
parent
commit
26e3248329
  1. 3
      server/bin/create_game
  2. 3
      server/hra/lib.py

3
server/bin/create_game

@ -19,6 +19,9 @@ configuration = {
"width_per_team": 30, "width_per_team": 30,
"height_per_team": 30, "height_per_team": 30,
"born_per_round": [1], "born_per_round": [1],
"initial_remaining_rounds": 1000,
"spawn_price": 10,
"last_spawn": 100,
# seed=5 # seed=5
"hills": [ "hills": [
".xx....x......................", ".xx....x......................",

3
server/hra/lib.py

@ -100,6 +100,9 @@ def create_test_game(user):
"width_per_team": 10, "width_per_team": 10,
"height_per_team": 10, "height_per_team": 10,
"born_per_round": [1], "born_per_round": [1],
"initial_remaining_rounds": 1000,
"spawn_price": 10,
"last_spawn": 100,
"hills": [ "hills": [
".xx....x..", ".xx....x..",
".xxx...xx.", ".xxx...xx.",

Loading…
Cancel
Save