[][src]Crate hex_game



A struct describing a Hex board of a given size. For information about hex grids in computers, look at the excellent Red Blob Games guide on the subject.


A coordinate system suitable for Hex games. The standard setup is a parallelogram, with letters a-z representing columns from left to right, and numbers 1-26 representing rows from top to bottom. In the most common orientation, the top left corner is farther left than the bottom left corner, and so the longest diagonal runs from the top left to bottom right.


This file's Game struct represents a game of Hex.