MCPcopy Index your code
hub / github.com/blovemaple/mahjong

github.com/blovemaple/mahjong @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
809 symbols 1,986 edges 90 files 273 documented · 34%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

GameContext (Interface)
一局游戏进行中的上下文信息。 @author blovemaple [6 implementers]
src/main/java/com/github/blovemaple/mj/game/GameContext.java
GameStage (Interface)
游戏阶段。定义阶段中玩家可使用的所有动作类型,以及转换到其他阶段的条件。 @author blovemaple [10 implementers]
src/main/java/com/github/blovemaple/mj/rule/GameStage.java
Player (Interface)
玩家。 @author blovemaple [6 implementers]
src/main/java/com/github/blovemaple/mj/object/Player.java
CharHandler (Interface)
字符处理器。 @author blovemaple [3 implementers]
src/main/java/com/github/blovemaple/mj/cli/CliView.java
AutoActionType (Interface)
由游戏自动做出的动作类型。 @author blovemaple [3 implementers]
src/main/java/com/github/blovemaple/mj/action/AutoActionType.java

Core symbols most depended-on inside this repo

size
called by 125
src/main/java/com/github/blovemaple/mj/object/TileUnitType.java
get
called by 102
src/main/java/com/github/blovemaple/mj/utils/LambdaUtils.java
add
called by 83
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotTileUnits.java
of
called by 66
src/main/java/com/github/blovemaple/mj/object/Tile.java
type
called by 51
src/main/java/com/github/blovemaple/mj/object/Tile.java
str
called by 47
src/main/java/com/github/blovemaple/mj/utils/LanguageManager.java
getAliveTiles
called by 47
src/main/java/com/github/blovemaple/mj/object/PlayerTiles.java
of
called by 33
src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotAliveTiles.java

Shape

Method 695
Class 75
Interface 25
Enum 14

Languages

Java100%

Modules by API surface

src/main/java/com/github/blovemaple/mj/local/bazbot/BazBotSimContext.java24 symbols
src/main/java/com/github/blovemaple/mj/utils/MyUtils.java23 symbols
src/main/java/com/github/blovemaple/mj/rule/simple/NormalWinType.java23 symbols
src/main/java/com/github/blovemaple/mj/object/MahjongTable.java23 symbols
src/main/java/com/github/blovemaple/mj/utils/LambdaUtils.java20 symbols
src/main/java/com/github/blovemaple/mj/game/GameContextImpl.java19 symbols
src/main/java/com/github/blovemaple/mj/cli/CliGameView.java19 symbols
src/main/java/com/github/blovemaple/mj/object/PlayerInfo.java18 symbols
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotSimContext.java18 symbols
src/main/java/com/github/blovemaple/mj/local/barbot/BarBotCpgdChoice.java18 symbols
src/main/java/com/github/blovemaple/mj/rule/win/WinInfo.java17 symbols
src/main/java/com/github/blovemaple/mj/action/AbstractPlayerActionType.java17 symbols

For agents

$ claude mcp add mahjong \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact