MCPcopy Create free account

hub / github.com/LanKuDot/MLGame / types & classes

Types & classes57 in github.com/LanKuDot/MLGame

↓ 5 callersClassGameConfigError
Exception raised when the game provides invalid game config
mlgame/exceptions.py:57
↓ 5 callersClassSnakeBody
games/snake/game/gameobject.py:30
↓ 2 callersClassBlocker
games/pingpong/game/gameobject.py:68
↓ 2 callersClassExecutionCommandError
Exception raised when parsed invalid execution command
mlgame/exceptions.py:44
↓ 2 callersClassGameProcessError
Exception raised when an error occurred in the game process
mlgame/exceptions.py:16
↓ 2 callersClassMLProcessError
Exception raised when an error occurred in the ml process
mlgame/exceptions.py:22
↓ 2 callersClassPlatform
games/pingpong/game/gameobject.py:17
↓ 2 callersClassPlatformAction
games/pingpong/game/gameobject.py:8
↓ 2 callersClassSnake
The game execution manager
games/snake/game/snake.py:6
↓ 1 callersClassBall
games/arkanoid/game/gameobject.py:97
↓ 1 callersClassBall
games/pingpong/game/gameobject.py:102
↓ 1 callersClassClient
The subprocess for executing and communication with non-python client
mlgame/crosslang/client.py:12
↓ 1 callersClassCommunicationHandler
A data class for storing a sending and a receiving communication objects and providing interface for accessing them
mlgame/communication.py:130
↓ 1 callersClassCommunicationSet
A data class for storing a set of communication objects and providing an interface for accessing these objects Communication objects use
mlgame/communication.py:6
↓ 1 callersClassCompilationError
Exception raised when failed to compile the user script
mlgame/crosslang/exceptions.py:5
↓ 1 callersClassDummyRecorder
The recorder that only proivdes the API of `Recorder` but do nothing
mlgame/recorder.py:97
↓ 1 callersClassExecutionCommand
The data class for storing the command of the game execution @var game_name The name of the game to be executed @var game_params A list
mlgame/execution_command.py:72
↓ 1 callersClassFood
games/snake/game/gameobject.py:11
↓ 1 callersClassGameCommManager
The commnuication manager for the game process
mlgame/communication.py:170
↓ 1 callersClassGameConfig
The data class storing the game defined config
mlgame/gameconfig.py:12
↓ 1 callersClassGameMLModeExecutor
The loop executor for the game process running in ml mode
mlgame/loops.py:77
↓ 1 callersClassGameMLModeExecutorProperty
The data class that helps build `GameMLModeExecutor`
mlgame/loops.py:58
↓ 1 callersClassGameManualModeExecutor
The loop executor for the game process running in manual mode
mlgame/loops.py:14
↓ 1 callersClassMLClientExecutionError
Exception raised when an error occurred while running non-python ml script
mlgame/crosslang/exceptions.py:16
↓ 1 callersClassMLCommManager
The communication manager for the ml process
mlgame/communication.py:222
↓ 1 callersClassMLExecutor
The loop executor for the machine learning process
mlgame/loops.py:210
↓ 1 callersClassMLExecutorProperty
The data class that helps build `MLExecutor`
mlgame/loops.py:190
↓ 1 callersClassPlatform
games/arkanoid/game/gameobject.py:61
↓ 1 callersClassPlatformAction
games/arkanoid/game/gameobject.py:52
↓ 1 callersClassProcessManager
Create and manage processes for executing the game and the ml clients @var _game_proc_helper The helper object for the game process @var
mlgame/process.py:8
↓ 1 callersClassRecorder
Record the scene information and the game command to the file
mlgame/recorder.py:28
↓ 1 callersClassScene
The main game scene
games/snake/game/gamecore.py:18
↓ 1 callersClassScene
games/arkanoid/game/gamecore.py:19
↓ 1 callersClassScene
games/pingpong/game/gamecore.py:23
↓ 1 callersClassSnakeAction
games/snake/game/gameobject.py:52
ClassAbstractMLPlay
* The abstract class for MLPlay class */
mlgame/crosslang/compile/cpp/include/ml_play.hpp:18
ClassArkanoid
games/arkanoid/game/arkanoid.py:5
ClassBrick
games/arkanoid/game/gameobject.py:10
ClassDifficulty
games/arkanoid/game/gamecore.py:10
ClassDifficulty
games/pingpong/game/gamecore.py:12
ClassFPSCounter
The counter for calculating the FPS Invoke `get_FPS()` at each frame. The counter will count how many calls within a specified updat
mlgame/gamedev/generic.py:48
ClassFunctionDelegate
Simulate the function delegate Invoke the registered function by invoking the instance of FunctionDelegate. For example: ```python
mlgame/utils/delegate.py:1
ClassGameMode
The mode of the game
mlgame/execution_command.py:63
ClassGameStatus
games/snake/game/gamecore.py:14
ClassGameStatus
games/arkanoid/game/gamecore.py:14
ClassGameStatus
games/pingpong/game/gamecore.py:17
ClassHardBrick
games/arkanoid/game/gameobject.py:30
ClassKeyCommandMap
Map the keys to the commands and return the mapped command when the corresponding key is pressed
mlgame/gamedev/generic.py:14
ClassMLPlay
games/snake/ml/ml_play_template.py:5
ClassMLPlay
games/arkanoid/ml/ml_play_template.py:5
ClassMLPlay
games/pingpong/ml/ml_play_manual.py:7
ClassMLPlay
games/pingpong/ml/ml_play_template.py:5
ClassMLPlay
mlgame/crosslang/ml_play.py:8
ClassPingPong
games/pingpong/game/pingpong.py:5
ClassProcessError
The base class for the exception occurred in the process
mlgame/exceptions.py:1
ClassSnake
games/snake/game/gameobject.py:59
ClassStringEnum
mlgame/utils/enum.py:3