Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Latest commit

 

History

58 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-boardgame

GoDoc

Go-boardgame is a simple Go package that can be used as the scaffolding to write the game logic for any board or turn based game.

Status

This package is now stable with new features in the works.

Installation

go get github.com/quibbble/go-boardgame

Packages

Go-boardgame also contains a number of helpful packages that can be optionally used to speed up development:

  • bgerr adds helpful error statuses and messages to board games.
  • bgn adds a standardized machine-readable notation to board games for easy storage and game recreation.
  • collection adds logic that can be used for decks, hands, etc. This package makes use of Go generics so that it can be used with any of your custom types.

Examples

Tic-Tac-Toe provides a simple example implementation.

You can also view all currently implemented games here.

Future Plans

Additional resources common to many games will be added to the above packages list as time goes on to make writing the logic for these games a far faster process. Any ideas or PRs to improve or add additional features are always welcome.

About

Go scaffolding for board or turn based games

Topics

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages