Click or drag to resize
GamecheckKingCapture Method
Checks to see if the king is surrounded

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool checkKingCapture(
	Square kingSquare
)

Parameters

kingSquare
Type: VikingChess.ModelSquare
The Square that the king Piece is on.

Return Value

Type: Boolean
A Boolean representing if the king is surrounded or not.
See Also