SYMBOL INDEX (74 symbols across 6 files) FILE: app.py class Item (line 12) | class Item(BaseModel): function game_root (line 38) | async def game_root(): function game_init (line 43) | async def game_init(item: Item): function game_begin (line 50) | async def game_begin(item: Item): function game_event (line 57) | async def game_event(item: Item): function parsed_event (line 65) | async def parsed_event(item: Item): function evaluation (line 74) | async def evaluation(item: Item): function is_alive (line 84) | async def is_alive(item: Item): function generate_ending (line 91) | async def generate_ending(item: Item): function get_person (line 99) | async def get_person(item: Item): FILE: core/chat.py class Chat (line 9) | class Chat: method __init__ (line 10) | def __init__(self, max_tokens=2000, debug=False) -> None: method __call__ (line 24) | def __call__(self, chat_list: List): method chat (line 27) | async def chat(self, chat_list: List) -> None: FILE: core/database.py class DatabaseBackend (line 10) | class DatabaseBackend: method __init__ (line 11) | def __init__(self, *args, **kwargs) -> None: method set (line 14) | def set(self, uuid: str, data: str): method get (line 17) | def get(self, uuid: str): class Database (line 21) | class Database: method __init__ (line 22) | def __init__(self, cfg_path='.env', time_out=3600, debug=False) -> None: method update (line 31) | def update(self, uuid, data: str) -> None: method fetch (line 36) | def fetch(self, uuid) -> str: FILE: core/person.py function random_normal (line 48) | def random_normal(minimum=1, maximum=10): function initialize (line 59) | def initialize(): class Person (line 71) | class Person: method __init__ (line 109) | def __init__(self) -> None: method get_event_by_age (line 117) | def get_event_by_age(self, age: int = None) -> str: method __str__ (line 140) | def __str__(self) -> str: FILE: moderator.py class Moderator (line 11) | class Moderator: method __init__ (line 12) | def __init__(self, expiration=1800, debug=False) -> None: method init_player (line 19) | def init_player(self, session_id): method generate_background (line 25) | async def generate_background(self, session_id): method generate_events (line 46) | async def generate_events(self, session_id): method evaluate_selection (line 66) | async def evaluate_selection(self, session_id, selection: int): method generate_epitaph (line 103) | async def generate_epitaph(self, session_id): method parse_events (line 127) | def parse_events(self, event: str): method parse_eval (line 132) | def parse_eval(self, session_id, data_dict: dict, results: str): method is_alive (line 150) | def is_alive(self, session_id) -> bool: method get_parsed_event (line 161) | def get_parsed_event(self, session_id): method get_person_info (line 167) | def get_person_info(self, session_id): function iterate_stream (line 175) | async def iterate_stream(stream): FILE: static/game.js class DomUtils (line 1) | class DomUtils { method showElement (line 2) | static showElement(selector, displayStyle = 'block') { method hideElement (line 7) | static hideElement(selector) { method setTextContent (line 12) | static setTextContent(id, newText) { method createElement (line 31) | static createElement(type, properties = {}) { method disableButton (line 39) | static disableButton(selector) { method enableButton (line 46) | static enableButton(selector) { method disableButtonsInContainer (line 53) | static disableButtonsInContainer(containerSelector) { method enableButtonsInContainer (line 60) | static enableButtonsInContainer(containerSelector) { class ApiService (line 68) | class ApiService { method fetchJSON (line 69) | static async fetchJSON(url, options = {}) { method fetchStream (line 83) | static async fetchStream(url, options = {}, callback) { class TextDisplay (line 111) | class TextDisplay { method constructor (line 112) | constructor(text, container, interval) { method display (line 119) | display(callback) { class Game (line 133) | class Game { method constructor (line 134) | constructor() { method init (line 148) | async init() { method initPlayer (line 155) | async initPlayer() { method generateOpening (line 170) | generateOpening() { method beginGame (line 183) | beginGame() { method getBackground (line 189) | async getBackground() { method getEvent (line 208) | async getEvent() { method getEnding (line 222) | async getEnding() { method getEval (line 236) | async getEval(optionNumber) { method getEpoch (line 260) | async getEpoch() { method checkIfAlive (line 283) | async checkIfAlive() { method getParsedEvent (line 299) | getParsedEvent() { method updatePlayerData (line 322) | async updatePlayerData() { method displayMarkdown (line 348) | displayMarkdown(markdownText) { method generateButtons (line 355) | generateButtons(inputStr) { method strongText (line 382) | strongText(text) { function checkAndUpdateCSS (line 393) | async function checkAndUpdateCSS() {