type_gchessboard.html

来自「一个由Mike Gashler完成的机器学习方面的includes neural」· HTML 代码 · 共 26 行

HTML
26
字号
<html><head><title>Generated Documentation</title></head><body>	<image src="headerimage.png">	<br><br><table><tr><td><big><big><big style="font-family: arial;"><b>GChessBoard</b></big></big></big><br><br></td><td></td></tr></table><br><br><big><big><i>Public</i></big></big><br><div style="margin-left: 40px;">int <big><b>GetMoves</b></big>(int* pOutMoves, int col, int row)<br><div style="margin-left: 80px;"><font color=brown> Pass in the coordinates of a square with a piece on it and it will return the number of moves that piece can make and put the coordinates of the moves in pOutMoves (first col, then row, so pOutMoves should be big enough to hold 2 * MAX_PIECE_MOVES values)</font></div><br>Piece* <big><b>GetPiece</b></big>(int col, int row, bool* pbWhite)<br>void <big><b>SetPiece</b></big>(int col, int row, Piece piece, bool bWhite)<br></div><br><big><big><i>Protected</i></big></big><br><div style="margin-left: 40px;">bool <big><b>CheckMove</b></big>(int* pOutMoves, int* pnMoves, int col, int row, bool bWhite)<br>bool <big><b>CheckPawnMove</b></big>(int* pOutMoves, int* pnMoves, int col, int row, bool bDiagonal, bool bWhite)<br>int <big><b>Dec</b></big>(int pos)<br>int <big><b>Inc</b></big>(int pos)<br></div><br></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?