Modified code from manaT's hex boards for use in analysing the game of trike.