Skip to content
@gravitton

Gravitton

Gravitton

Stars Go Dev Reference Go Version Software License

Go libraries for game development


Generic, allocation-conscious and tested to 100% coverage, with results that stay bit-identical across amd64 and arm64.

Libraries

  • geometry: immutable 2D geometry, points, vectors and shapes with their tests, casts and constructions.
  • hexagon: hexagonal grid math, coordinates, rings, lines, line of sight and field of view.
  • grid: 2D grids with rectangular, isometric and hexagonal layouts, range and sight queries, and pathfinding.
  • container: generic containers, a table of values per index and an immutable sorted set.
  • assert: lightweight test assertions.
  • errors: a drop-in superset of errors with fields, stack traces and multi-errors.
graph LR
  hexagon --> geometry
  container --> geometry
  grid --> geometry
  grid --> hexagon
  grid --> container
Loading

Contributing

Bug reports and proposals are welcome in each library's issues. Please see Contributing before opening a pull request, and Security to report a vulnerability.

License

Every library is released under the MIT License, in the LICENSE.md of its repository.

Pinned Loading

  1. geometry geometry Public

    Generic immutable 2D geometry library for game development

    Go 4

  2. hexagon hexagon Public

    Hexagonal grid math library for game development.

    Go 8

  3. grid grid Public

    Generic 2D grid library for game development with rectangular and hexagonal layouts, spatial queries, and pathfinding.

    Go 5

  4. container container Public

    Generic containers for Go

    Go 1

  5. assert assert Public

    Simple and lightweight testing assertion library for Go

    Go 1

  6. errors errors Public

    Concurrent safe representation of a list of errors as a single error.

    Go 1

Repositories

Showing 8 of 8 repositories

Top languages

Loading…

Most used topics

Loading…