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.
- Host: GitHub
- URL: https://github.com/de-soot/tic-tac-toe-cli
- Owner: de-soot
- License: gpl-3.0
- Created: 2023-12-27T05:22:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-08T15:23:21.000Z (about 1 year ago)
- Last Synced: 2025-02-08T16:26:44.818Z (about 1 year ago)
- Topics: 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
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.