Table of Contents

Method KnightNorm

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

KnightNorm(GridPoint2)

Returns the knight norm of a point, defined by the minimum number of moves a knight chess-piece will need to reach it starting at the origin.

public static int KnightNorm(GridPoint2 point)

Parameters

point GridPoint2

Returns

int