Simple scaffolding for board or turn based games in Golang

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 still under active development and may be unstable at this time.

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.

Examples

Tic-Tac-Toe provides a simple example implementation and is a good place to start.

Below are a few more complex examples of games implemented with this package as well:

Future Plans

Additional resources common to many games such as decks, hands, boards, etc. 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 welcome.

Similar Resources

Scaffolding tool for golang based services

Scaffolding tool for golang based services

Mar 6, 2022

Poc rsa - A simple golang scaffolding to help me to create new api projects or workers with golang on k8s

go-scaffold A simple golang scaffolding to help me to create new api projects or

Feb 3, 2022

RBAC scaffolding based on Gin + Gorm+ Casbin + Wire

RBAC scaffolding based on Gin + Gorm+ Casbin + Wire

Gin Admin 基于 GIN + GORM + CASBIN + WIRE 实现的RBAC权限管理脚手架,目的是提供一套轻量的中后台开发框架,方便、快速的完成业务需求的开发。 特性 遵循 RESTful API 设计规范 & 基于接口的编程规范 基于 GIN 框架,提供了丰富的中间件支持(JWT

Dec 28, 2022

Golang Cafe - Go job board with no recruiters and clear salary ranges

Golang Cafe Golang Cafe is the first Go job board with no recruiters & clear salary ranges. Clear salary range in each job description No third party

Jan 6, 2023

API Kanban Board With Golang

API Kanban Board Setup To run this project, follow these steps: run go get to install dependencies run cp .env.example .env setup .env to handle conne

Mar 10, 2022

Tcell-game-template - A small template repository for simple tcell based games

tcell game template This is a template repository used for making small terminal

Jan 22, 2022

Ultra simple project scaffolding

Ultra simple project scaffolding

💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub. aho ultra simple project scaffolding Install curl -f

Dec 28, 2022

Simple Markdown-Driven Scaffolding tool written by Go

Simple Markdown-Driven Scaffolding tool written by Go

Manaita Simple Markdown-Driven Scaffolding tool written by Go Write your scaffolding code on SCAFFOLD.md and generate files using the scaffold. Scaffo

Jun 25, 2022

io-hat go board source code

io-hat go Kaip veikia Kaip paruošti Raspberry Pi Šaltiniai io-hat go Kaip veikia Įėjimų statusas publikuojamas periodiškai ir kai pasikeičia reikšmė s

Dec 24, 2021

Chesscode - a way of encoding messages using a chess board and the starting set of chess pieces

Chesscode - a way of encoding messages using a chess board and the starting set of chess pieces

chesscode Are you a spy that needs to leave an urgent top secret message for an

Jan 3, 2023

Chesscode - Chesscode: a way of encoding messages using a chess board and the starting set of chess pieces

Chesscode - Chesscode: a way of encoding messages using a chess board and the starting set of chess pieces

chesscode Are you a spy that needs to leave an urgent top secret message for an

Jan 1, 2022

Show when you're out and about on a Boosted board on your Discord RPC

boosted-rpc Show when you're out an about on a Boosted board on your Discord RPC I use this with the Ride app for iOS and the IFTTT integration. Effec

Jul 24, 2022

Online multiplayer board game server written in Go, using WebSockets.

BfH Server The Battle for Hermannia is a board game created as a gift by the father of hermannm, a developer of this project. This digital edition of

Nov 7, 2022

Gorched is terminal based game written in Go inspired by "The Mother of all games" Scorched Earth

Gorched Gorched is terminal based game written in Go inspired by "The Mother of all games" Scorched Earth. How the game looks like depends on your ter

Dec 13, 2022

Awesome 2D Maze-based games to play with kids in family and with friends on rich console UI. developed into Go.

Awesome 2D Maze-based games to play with kids in family and with friends on rich console UI. developed into Go.

gomazes Have fun time with kids and family and friends at playing awesome 2D maze-based games while feeling like a programmer on the computer console/

Dec 23, 2021

Gin best practices, gin development scaffolding, too late to explain, get on the bus.

Table of Contents generated with DocToc gin_scaffold 现在开始 文件分层 log / redis / mysql / http.client 常用方法 swagger文档生成 gin_scaffold Gin best practices, gin

Dec 27, 2022

Terraform Provider Scaffolding

Terraform Provider Scaffolding This repository is a template for a Terraform provider. It is intended as a starting point for creating Terraform provi

Nov 3, 2021

Terraform-provider-e2e-network - Terraform Provider Scaffolding (Terraform Plugin SDK)

This template repository is built on the Terraform Plugin SDK. The template repository built on the Terraform Plugin Framework can be found at terraform-provider-scaffolding-framework.

Jan 19, 2022

Terraform Provider Scaffolding (Terraform Plugin SDK)

Terraform Provider Scaffolding (Terraform Plugin SDK) This template repository is built on the Terraform Plugin SDK. The template repository built on

Feb 8, 2022
Golang Demo - simple API to get top ranking repos from online csv file

README Generator Description A Demo Golang project, topics : Simple Http Server Get csv from endpoint Convert csv to struct sort slice of struct filte

Dec 3, 2021
a simple shell written in go
a simple shell written in go

go-shell a simple shell written in go (WIP) Prerequisites golang (v13.0+) windows 7+ (to be able to run golang) Commands chdir <args> (change current

Nov 7, 2021
Nwg-drawer is a golang replacement to the nwggrid command (a part of nwg-launchers).
Nwg-drawer is a golang replacement to the nwggrid command (a part of nwg-launchers).

Nwg-drawer is a golang replacement to the nwggrid command (a part of nwg-launchers). It's being developed with sway in mind, but should also work with other wlroots-based Wayland compositors. X Window System is not supported.

Dec 23, 2022
go:embed and the golang-standards project layout

An example of using the golang-standards project layout and the go:embed directive.

May 17, 2022
Epitech BSQ in Golang
Epitech BSQ in Golang

EPITECH BSQ in Golang BSQ GO What is BSQ ? The goal of the project is to find the biggest square on a map while avoiding obstacles. The file map is pa

Mar 7, 2022
This repository contains my Golang practice

Golang Practice Repository This repository contains my practice code for Golang. Each exercise includes a README for running the application. NOTE: TH

Nov 28, 2021
A set of example golang code to start learning Go

Working with Go View online at: https://mkaz.blog/working-with-go/ Working with Go is a set of examples for Go (golang) to help an experienced program

Dec 23, 2022
Partially golang implement of openstack keystone client.

Keystone client Introduction The openapi folder is generated from keystone.yaml(i.e. the OAS) using openapi-generator-cli. Another OAS token.json is n

Jan 6, 2022
Keeps track of Steam Deck Verifications. On first run, it reports all games with their respective Steam Deck Verification status. On subsequent runs, the tool will report newly tested and updated games.

Keeps track of Steam Deck Verifications. On first run, it reports all games with their respective Steam Deck Verification status. On subsequent runs, the tool will report newly tested and updated games.

Feb 2, 2022
crud is a cobra based CLI utility which helps in scaffolding a simple go based micro-service along with build scripts, api documentation, micro-service documentation and k8s deployment manifests

crud crud is a CLI utility which helps in scaffolding a simple go based micro-service along with build scripts, api documentation, micro-service docum

Nov 29, 2021