Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LanKuDot/MLGame
/ types & classes
Types & classes
57 in github.com/LanKuDot/MLGame
⨍
Functions
255
◇
Types & classes
57
↓ 5 callers
Class
GameConfigError
Exception raised when the game provides invalid game config
mlgame/exceptions.py:57
↓ 5 callers
Class
SnakeBody
games/snake/game/gameobject.py:30
↓ 2 callers
Class
Blocker
games/pingpong/game/gameobject.py:68
↓ 2 callers
Class
ExecutionCommandError
Exception raised when parsed invalid execution command
mlgame/exceptions.py:44
↓ 2 callers
Class
GameProcessError
Exception raised when an error occurred in the game process
mlgame/exceptions.py:16
↓ 2 callers
Class
MLProcessError
Exception raised when an error occurred in the ml process
mlgame/exceptions.py:22
↓ 2 callers
Class
Platform
games/pingpong/game/gameobject.py:17
↓ 2 callers
Class
PlatformAction
games/pingpong/game/gameobject.py:8
↓ 2 callers
Class
Snake
The game execution manager
games/snake/game/snake.py:6
↓ 1 callers
Class
Ball
games/arkanoid/game/gameobject.py:97
↓ 1 callers
Class
Ball
games/pingpong/game/gameobject.py:102
↓ 1 callers
Class
Client
The subprocess for executing and communication with non-python client
mlgame/crosslang/client.py:12
↓ 1 callers
Class
CommunicationHandler
A data class for storing a sending and a receiving communication objects and providing interface for accessing them
mlgame/communication.py:130
↓ 1 callers
Class
CommunicationSet
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 callers
Class
CompilationError
Exception raised when failed to compile the user script
mlgame/crosslang/exceptions.py:5
↓ 1 callers
Class
DummyRecorder
The recorder that only proivdes the API of `Recorder` but do nothing
mlgame/recorder.py:97
↓ 1 callers
Class
ExecutionCommand
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 callers
Class
Food
games/snake/game/gameobject.py:11
↓ 1 callers
Class
GameCommManager
The commnuication manager for the game process
mlgame/communication.py:170
↓ 1 callers
Class
GameConfig
The data class storing the game defined config
mlgame/gameconfig.py:12
↓ 1 callers
Class
GameMLModeExecutor
The loop executor for the game process running in ml mode
mlgame/loops.py:77
↓ 1 callers
Class
GameMLModeExecutorProperty
The data class that helps build `GameMLModeExecutor`
mlgame/loops.py:58
↓ 1 callers
Class
GameManualModeExecutor
The loop executor for the game process running in manual mode
mlgame/loops.py:14
↓ 1 callers
Class
MLClientExecutionError
Exception raised when an error occurred while running non-python ml script
mlgame/crosslang/exceptions.py:16
↓ 1 callers
Class
MLCommManager
The communication manager for the ml process
mlgame/communication.py:222
↓ 1 callers
Class
MLExecutor
The loop executor for the machine learning process
mlgame/loops.py:210
↓ 1 callers
Class
MLExecutorProperty
The data class that helps build `MLExecutor`
mlgame/loops.py:190
↓ 1 callers
Class
Platform
games/arkanoid/game/gameobject.py:61
↓ 1 callers
Class
PlatformAction
games/arkanoid/game/gameobject.py:52
↓ 1 callers
Class
ProcessManager
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 callers
Class
Recorder
Record the scene information and the game command to the file
mlgame/recorder.py:28
↓ 1 callers
Class
Scene
The main game scene
games/snake/game/gamecore.py:18
↓ 1 callers
Class
Scene
games/arkanoid/game/gamecore.py:19
↓ 1 callers
Class
Scene
games/pingpong/game/gamecore.py:23
↓ 1 callers
Class
SnakeAction
games/snake/game/gameobject.py:52
Class
AbstractMLPlay
* The abstract class for MLPlay class */
mlgame/crosslang/compile/cpp/include/ml_play.hpp:18
Class
Arkanoid
games/arkanoid/game/arkanoid.py:5
Class
Brick
games/arkanoid/game/gameobject.py:10
Class
Difficulty
games/arkanoid/game/gamecore.py:10
Class
Difficulty
games/pingpong/game/gamecore.py:12
Class
FPSCounter
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
Class
FunctionDelegate
Simulate the function delegate Invoke the registered function by invoking the instance of FunctionDelegate. For example: ```python
mlgame/utils/delegate.py:1
Class
GameMode
The mode of the game
mlgame/execution_command.py:63
Class
GameStatus
games/snake/game/gamecore.py:14
Class
GameStatus
games/arkanoid/game/gamecore.py:14
Class
GameStatus
games/pingpong/game/gamecore.py:17
Class
HardBrick
games/arkanoid/game/gameobject.py:30
Class
KeyCommandMap
Map the keys to the commands and return the mapped command when the corresponding key is pressed
mlgame/gamedev/generic.py:14
Class
MLPlay
games/snake/ml/ml_play_template.py:5
Class
MLPlay
games/arkanoid/ml/ml_play_template.py:5
Class
MLPlay
games/pingpong/ml/ml_play_manual.py:7
Class
MLPlay
games/pingpong/ml/ml_play_template.py:5
Class
MLPlay
mlgame/crosslang/ml_play.py:8
Class
PingPong
games/pingpong/game/pingpong.py:5
Class
ProcessError
The base class for the exception occurred in the process
mlgame/exceptions.py:1
Class
Snake
games/snake/game/gameobject.py:59
Class
StringEnum
mlgame/utils/enum.py:3