mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-05 20:38:26 +02:00
20 lines
599 B
Python
20 lines
599 B
Python
from .strategy import Strategy
|
|
|
|
class Encounter:
|
|
"""A combat encounter between two parties -- good guys and bad guys"""
|
|
|
|
def __init__(self, good_guys, bad_guys):
|
|
self.good_guys = good_guys
|
|
self.bad_guys = bad_guys
|
|
|
|
def rating(self):
|
|
raise NotImplementedError() # Deadly for Python :/
|
|
|
|
def simulate(self):
|
|
"""Who will win?"""
|
|
raise NotImplementedError() # Apparently the mind flayers win for now
|
|
|
|
def analyze(self):
|
|
"""So, really... how deadly *is* it?"""
|
|
raise NotImplementedError() # TODO: Run a Monte-Carlo simulation
|