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

https://github.com/zewebdev1337/go-tictactoe

Golang reimplementation of the CLI version of nim-tictactoe
https://github.com/zewebdev1337/go-tictactoe

cli-game go golang language-conversion minmax reimplementation tictactoe

Last synced: 11 months ago
JSON representation

Golang reimplementation of the CLI version of nim-tictactoe

Awesome Lists containing this project

README

          

# go-tictactoe

A go reimplementation of the CLI version of [nim-tictactoe](https://github.com/xmonader/nim-tictactoe).

## Usage

```
TicTacToe 0.1.0 (MinMax version)
Allowed arguments:
-h | --help : show help
-a | --ai : AI player [X or O]
-l | --difficulty : difficulty level (0-8)
```

Example:

```
./TicTacToe -a X -l 3
```

This will start a game where the AI player is 'X' and the difficulty level is set to 3.