ogd.games.SHADOWSPECT.features package

Submodules

ogd.games.SHADOWSPECT.features.FunnelByUser module

class ogd.games.SHADOWSPECT.features.FunnelByUser.FunnelByUser(params: GeneratorParameters)[source]

Bases: SessionFeature

Subfeatures() List[str][source]

Base function to get a list of names of the sub-feature(s) a given Feature class outputs. By default, a Feature class has no subfeatures. However, if a Feature class is written to output multiple values, it will need to override this function to return an appropriate list. Note, Subfeatures must match the ordering from the override of GetFeatureNames, if returning a list of length > 0.

Returns:

A list of names of subfeatures for the Feature sub-class.

Return type:

Tuple[str]

ogd.games.SHADOWSPECT.features.LevelsOfDifficulty module

class ogd.games.SHADOWSPECT.features.LevelsOfDifficulty.LevelsOfDifficulty(params: GeneratorParameters)[source]

Bases: SessionFeature

Subfeatures() List[str][source]

Base function to get a list of names of the sub-feature(s) a given Feature class outputs. By default, a Feature class has no subfeatures. However, if a Feature class is written to output multiple values, it will need to override this function to return an appropriate list. Note, Subfeatures must match the ordering from the override of GetFeatureNames, if returning a list of length > 0.

Returns:

A list of names of subfeatures for the Feature sub-class.

Return type:

Tuple[str]

ogd.games.SHADOWSPECT.features.MoveShapeCount module

class ogd.games.SHADOWSPECT.features.MoveShapeCount.MoveShapeCount(params: GeneratorParameters)[source]

Bases: PerLevelFeature

ogd.games.SHADOWSPECT.features.SequenceBetweenPuzzles module

class ogd.games.SHADOWSPECT.features.SequenceBetweenPuzzles.SequenceBetweenPuzzles(params: GeneratorParameters)[source]

Bases: SessionFeature

Subfeatures() List[str][source]

Base function to get a list of names of the sub-feature(s) a given Feature class outputs. By default, a Feature class has no subfeatures. However, if a Feature class is written to output multiple values, it will need to override this function to return an appropriate list. Note, Subfeatures must match the ordering from the override of GetFeatureNames, if returning a list of length > 0.

Returns:

A list of names of subfeatures for the Feature sub-class.

Return type:

Tuple[str]

ogd.games.SHADOWSPECT.features.SequenceWithinPuzzles module

class ogd.games.SHADOWSPECT.features.SequenceWithinPuzzles.SequenceWithinPuzzles(params: GeneratorParameters)[source]

Bases: SessionFeature

Subfeatures() List[str][source]

Base function to get a list of names of the sub-feature(s) a given Feature class outputs. By default, a Feature class has no subfeatures. However, if a Feature class is written to output multiple values, it will need to override this function to return an appropriate list. Note, Subfeatures must match the ordering from the override of GetFeatureNames, if returning a list of length > 0.

Returns:

A list of names of subfeatures for the Feature sub-class.

Return type:

Tuple[str]

ogd.games.SHADOWSPECT.features.SessionID module

class ogd.games.SHADOWSPECT.features.SessionID.SessionID(params: GeneratorParameters, session_id: str)[source]

Bases: SessionFeature

Module contents

Initializer for Shadowspect features