Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,13 +4,13 @@ import random
|
|
4 |
app = Flask(__name__)
|
5 |
|
6 |
# ---------------- Configuration ----------------
|
7 |
-
AIR_STRIKE_CHANCE = 0.
|
8 |
SELF_REVIVE_CHANCE = 0.10 # Chance to self-revive when downed
|
9 |
-
EXTRA_LOST_PLATE_CHANCE =
|
10 |
GULAG_WIN_THRESHOLD = 0.35 # In Gulag: outcome <35% = win (return to battle)
|
11 |
GULAG_ELIMINATED_THRESHOLD = 0.65 # In Gulag: outcome >=35% and <65% = eliminated; >=65% = stalemate (lose a plate and try again)
|
12 |
-
NAT_MIN_DEATHS =
|
13 |
-
NAT_MAX_DEATHS =
|
14 |
# ------------------------------------------------
|
15 |
|
16 |
game_states = {}
|
|
|
4 |
app = Flask(__name__)
|
5 |
|
6 |
# ---------------- Configuration ----------------
|
7 |
+
AIR_STRIKE_CHANCE = 0.35 # Chance to call in an Air Strike if available
|
8 |
SELF_REVIVE_CHANCE = 0.10 # Chance to self-revive when downed
|
9 |
+
EXTRA_LOST_PLATE_CHANCE = 1.50 # Chance to lose an extra plate from enemy fire
|
10 |
GULAG_WIN_THRESHOLD = 0.35 # In Gulag: outcome <35% = win (return to battle)
|
11 |
GULAG_ELIMINATED_THRESHOLD = 0.65 # In Gulag: outcome >=35% and <65% = eliminated; >=65% = stalemate (lose a plate and try again)
|
12 |
+
NAT_MIN_DEATHS = 13 # Minimum natural enemy deaths per round (lower = harder game)
|
13 |
+
NAT_MAX_DEATHS = 27 # Maximum natural enemy deaths per round
|
14 |
# ------------------------------------------------
|
15 |
|
16 |
game_states = {}
|