Categorygithub.com/gucio321/tic-tac-go
repository
2.4.2+incompatible
Repository: https://github.com/gucio321/tic-tac-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

CircleCI Go Report Card GoDoc codecov

Tic-Tac-Go

is an implementation of the tic-tac-toe game written in [Golang](https://golang.org) In addition it implements a _relatively simple_ AI logic for PC players. For more details see here

Installation

Requirements

to run the game you just need to have GO programming language installed.

You may also want to use graphical version of the game, so I suggest following GIU installation instruction

Installing binaries

To install the game with golang api, first download it: go get github.com/gucio321/tic-tac-go and let's GO! Since now, an executable will be present in $GOPATH/bin/ directory.

So how to run now?

After installation, just run go run github.com/gucio321/tic-tac-go/cmd/terminal-game for simple console game implementation or go run github.com/gucio321/tic-tac-go/cmd/giu-game for advanced graphical one.

Well, but I'd like to know more about source code!

You can also download the source by running git clone https://github.com/gucio321/tic-tac-go and then, to set up the project:

cd tic-tac-go
go get -d ./...

Screenshots

tic tac go in terminal

tic tac go with DearImgui using GIU

Motivation

When I'm learning a new programming language, I write a game like this one to check myself. Because I liked golang and decided to share and improve my work.