Skip to content

playbymail/hexes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexes

Sourced from the truly great Red Blob Games site

https://www.redblobgames.com/grids/parts/

https://www.redblobgames.com/grids/hexagons/

https://www.redblobgames.com/grids/hexagons/implementation.html

from https://www.redblobgames.com/grids/hexagons/codegen/output/lib.cpp

Coordinates

Cube coordinates use q, r, s.

Axial coordinates use q and r. S can be calculated as s = -q - r.

Points

Points are x, y coordinates.

About

Go package for hexagonal grids

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages