| from dataclasses import dataclass, field | |
| from typing import Literal | |
| class GameConfig: | |
| mode: Literal["battle_royale"] = "battle_royale" | |
| grid_size: int = 20 | |
| max_turns: int = 100 | |
| max_agents: int = 8 | |
| base_hp: int = 100 | |
| attack_damage: int = 35 | |
| attack_range: int = 2 | |
| num_chests: int = 15 | |
| chest_respawn_interval: int = 5 | |
| chest_lifetime: int = 15 | |
| chest_value_range: tuple = (10, 50) | |
| kill_score: int = 50 | |
| survival_score_per_turn: int = 2 | |
| win_bonus: int = 0 | |
| observation_radius: int = 5 | |