35 lines
658 B
Python
35 lines
658 B
Python
"""
|
|
Game logic module for Code of Conquest.
|
|
|
|
This module contains core game mechanics that determine outcomes
|
|
before they are passed to AI for narration.
|
|
"""
|
|
|
|
from app.game_logic.dice import (
|
|
CheckResult,
|
|
SkillType,
|
|
Difficulty,
|
|
roll_d20,
|
|
calculate_modifier,
|
|
skill_check,
|
|
get_stat_for_skill,
|
|
perception_check,
|
|
stealth_check,
|
|
persuasion_check,
|
|
lockpicking_check,
|
|
)
|
|
|
|
__all__ = [
|
|
"CheckResult",
|
|
"SkillType",
|
|
"Difficulty",
|
|
"roll_d20",
|
|
"calculate_modifier",
|
|
"skill_check",
|
|
"get_stat_for_skill",
|
|
"perception_check",
|
|
"stealth_check",
|
|
"persuasion_check",
|
|
"lockpicking_check",
|
|
]
|