slice module#

class Hero(word: str)[source]#

Bases: object

class CurrentRun(data)[source]#

Bases: object

property difficulty: str#
property modifiers: list[str]#
property items: list[str]#
property heroes: list[Hero]#
property preset: str#
get_runs() dict[str, CurrentRun][source]#
async receive_slice(req: Request)[source]#
decode(s: str) str[source]#
deserialize(s: str) dict[source]#
populate(path=None) bool[source]#

Decode the savefile and populate the variables.

Return True if decoding was successful, False otherwise.

load()[source]#