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

https://github.com/de-soot/tic-tac-toe-cli

Classic game of tic-tac-toe in the command-line made with Python.
https://github.com/de-soot/tic-tac-toe-cli

game game-tictactoe noughts-a-crosses noughts-and-crosses noughts-and-crosses-game noughts-crosses noughtsandcrosses python python-game python-tictactoe python-tictactoe-game python3 tic-tac-toe tic-tac-toe-game tic-tac-toe-python tictactoe tictactoe-game tictactoe-python x-and-o x-and-o-game

Last synced: 4 months ago
JSON representation

Classic game of tic-tac-toe in the command-line made with Python.

Awesome Lists containing this project

README

          

# Tic-tac-toe CLI
Classic game of Tic-tac-toe in the command-line made with Python.

Originally made for my school's computer science class homework assignment, but expanded to include some extra features for fun.

## Features
- Classic game of Tic-tac-toe
- Follows all of the rules in the original game
- Break free of the same old 3x3 board with a customisable `n`x`n` board size (as of v2.0.0 release)
- Two-player gameplay (with plans on AI vs AI and Player vs AI with minimax algorithm)
- Runs on the terminal
- Minimal ASCII user interface (scales with board size)
- Made with Python

# Usage
## Local
Download Python 3 and `main.py` from [Releases page](https://github.com/de-soot/tic-tac-toe-cli/releases/latest). Then run `main.py`:
```sh
python main.py
```

## Online
Open this link in your browser: **https://onlinegdb.com/pnxRXTdsC** and click the `Run` button.