Skip to content

baccenfutter/tttaas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTTaaS

Tic-Tac-Toe-as-a-Service is a Goa Microservice implementation.

Requirements

  • Go-1.12
  • GNU/make
  • protoc (v3)

Installation

go get -u github.com/baccenfutter/tttaas
go install github.com/baccenfutter/cmd/...

Developers

git clone https://github.com/baccenfutter/tttaas
make all

Docker

docker build -t tttaas .
docker run -it --rm tttaas

Usage

Start the server:

tictactoe

Start New Game

tictactoe-cli game new

Get Running Game By ID

tictactoe-cli game get -board <id>

Play A Move

tictactoe-clie game move -board <id> -square <square>

Game-Engine

GoDoc