MCPcopy Create free account
hub / github.com/XMuli/ChineseChess / StarPos

Class StarPos

ChessBoard.cpp:382–382  ·  view source on GitHub ↗

星位标记位置:炮位(row=2,col=1/7; row=7,col=1/7) 和 兵/卒位 兵位: row=3,col=0/2/4/6/8; row=6,col=0/2/4/6/8

Source from the content-addressed store, hash-verified

380 // 星位标记位置:炮位(row=2,col=1/7; row=7,col=1/7) 和 兵/卒位
381 // 兵位: row=3,col=0/2/4/6/8; row=6,col=0/2/4/6/8
382 struct StarPos { int row; int col; };
383 StarPos positions[] = {
384 {2,1},{2,7},{7,1},{7,7}, // 炮位
385 {3,0},{3,2},{3,4},{3,6},{3,8}, // 黑方兵位

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected