An open API service indexing awesome lists of open source software.

https://github.com/shurcool/tictactoe

Package tictactoe defines the game of tic-tac-toe.
https://github.com/shurcool/tictactoe

game tic-tac-toe

Last synced: 5 months ago
JSON representation

Package tictactoe defines the game of tic-tac-toe.

Awesome Lists containing this project

README

          

tictactoe
=========

[![Go Reference](https://pkg.go.dev/badge/github.com/shurcooL/tictactoe.svg)](https://pkg.go.dev/github.com/shurcooL/tictactoe)
[![Build Status](https://travis-ci.org/shurcooL/tictactoe.svg?branch=master)](https://travis-ci.org/shurcooL/tictactoe)

Package tictactoe defines the game of tic-tac-toe.

Installation
------------

```bash
go get github.com/shurcooL/tictactoe
```

Directories
-----------

| Path | Synopsis |
|-----------------------------------------------------------------------------------|---------------------------------------------------------------|
| [cmd/tictactoe](https://pkg.go.dev/github.com/shurcooL/tictactoe/cmd/tictactoe) | tictactoe plays a game of tic-tac-toe with two players. |
| [player/bad](https://pkg.go.dev/github.com/shurcooL/tictactoe/player/bad) | Package bad contains a bad tic-tac-toe player. |
| [player/human](https://pkg.go.dev/github.com/shurcooL/tictactoe/player/human) | Package human contains a human-controlled tic-tac-toe player. |
| [player/perfect](https://pkg.go.dev/github.com/shurcooL/tictactoe/player/perfect) | Package perfect implements a perfect tic-tac-toe player. |
| [player/random](https://pkg.go.dev/github.com/shurcooL/tictactoe/player/random) | Package random implements a random player of tic-tac-toe. |

License
-------

- [MIT License](LICENSE)