refactor: update Python version and optimize dice configuration parameters

This commit is contained in:
2026-03-24 23:01:45 -03:00
parent 0763c4a9e1
commit 0470200d00
12 changed files with 228 additions and 233 deletions

View File

@@ -3,11 +3,10 @@ from diceplayer.dice.dice_handler import DiceHandler
from diceplayer.logger import logger
from diceplayer.state.state_handler import StateHandler
from diceplayer.state.state_model import StateModel
from diceplayer.utils.potential import read_system_from_phb
from typing_extensions import TypedDict, Unpack
from diceplayer.utils.potential import read_system_from_phb
class PlayerFlags(TypedDict):
continuation: bool
@@ -33,9 +32,7 @@ class Player:
if state is None:
system = read_system_from_phb(self.config)
state = StateModel(
config=self.config, system=system
)
state = StateModel(config=self.config, system=system)
else:
logger.info("Resuming from existing state.")