# Colititato
This is a simple command-line interface (CLI) implementation of the popular Tic Tac Toe game in Python. It allows a player to play the game with a computer player by taking turns to mark the spaces on a 3x3 grid.
## Installation
To install the game, you can use pip to download and install it from PyPI:
```
pip install colititato
```
## Usage
After installation, you can start the game by running the following command in your terminal:
```
colititato
````
This will start a new game and prompt the first player to make a move. The game board will be displayed in the console as follows:
| | | |
|:---:|:---:|:---:|
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
To make a move, enter the number corresponding to the cell you want to mark (1-9) and press Enter. The cell will be marked with either "X" or "O", depending on whose turn it is. The game will continue until one of the players wins, or the game ends in a tie.
## Development
To develop Colinote, first clone the repository:
```
git clone https://github.com/tiakas/colititato.git`
cd colinote
```
Then, install the development dependencies:
```
pip install -r requirements.txt
```
To run the tests, use:
```
pytest
```
To build the package, use:
```
python setup.py sdist bdist_wheel
```
This will create a dist directory containing the source distribution (*.tar.gz) and wheel distribution (*.whl) of the package.
Check the package contents:
```
twine check dist/*
```
Upload the package to PyPI:
```
twine upload dist/*
```
## License
This project is licensed under the MIT License - see the LICENSE file for details.
## Contributing
Contributions are always welcome! Here are some ways to contribute:
- Fork the repository and make changes on your local branch.
- Create a pull request with your changes.
- Work on open issues.
Raw data
{
"_id": null,
"home_page": "https://github.com/tiakas/colititato",
"name": "colititato",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "cli,tic-tat-toe,game",
"author": "Giannis Tiakas",
"author_email": "giannis@tiakas.com",
"download_url": "https://files.pythonhosted.org/packages/fd/3e/715f40a3c435e9f212c1b1c2730f9eb7e0f323e5490fa31f44668dec159b/colititato-0.1.1.tar.gz",
"platform": null,
"description": "# Colititato\n\nThis is a simple command-line interface (CLI) implementation of the popular Tic Tac Toe game in Python. It allows a player to play the game with a computer player by taking turns to mark the spaces on a 3x3 grid.\n\n## Installation\nTo install the game, you can use pip to download and install it from PyPI:\n\n```\npip install colititato\n```\n\n## Usage\n\nAfter installation, you can start the game by running the following command in your terminal:\n\n```\ncolititato\n````\n\nThis will start a new game and prompt the first player to make a move. The game board will be displayed in the console as follows:\n\n| | | |\n|:---:|:---:|:---:|\n| 1 | 2 | 3 |\n| 4 | 5 | 6 |\n| 7 | 8 | 9 |\n\nTo make a move, enter the number corresponding to the cell you want to mark (1-9) and press Enter. The cell will be marked with either \"X\" or \"O\", depending on whose turn it is. The game will continue until one of the players wins, or the game ends in a tie.\n\n\n## Development\n\nTo develop Colinote, first clone the repository:\n```\ngit clone https://github.com/tiakas/colititato.git`\ncd colinote\n```\nThen, install the development dependencies:\n\n```\npip install -r requirements.txt\n```\n\nTo run the tests, use:\n```\npytest\n```\n\nTo build the package, use:\n```\npython setup.py sdist bdist_wheel\n```\n\nThis will create a dist directory containing the source distribution (*.tar.gz) and wheel distribution (*.whl) of the package.\n\nCheck the package contents:\n ```\n twine check dist/*\n ```\nUpload the package to PyPI:\n```\ntwine upload dist/*\n```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contributing\nContributions are always welcome! Here are some ways to contribute:\n\n- Fork the repository and make changes on your local branch.\n- Create a pull request with your changes.\n- Work on open issues.\n",
"bugtrack_url": null,
"license": "",
"summary": "A CLI implementation of the classic Tic Tac Toe game",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/tiakas/colititato"
},
"split_keywords": [
"cli",
"tic-tat-toe",
"game"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1d8848895e5a182aa7c7bedb72c0b8f2424dd3f6fc95a44e922e7de227d6d0d4",
"md5": "7c91b7658630cc7699f0691164565a73",
"sha256": "a6a5a0a8052b07576058bc124c3f92f9be2e937510e9a777e67953a3e4ce2692"
},
"downloads": -1,
"filename": "colititato-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7c91b7658630cc7699f0691164565a73",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5792,
"upload_time": "2023-05-07T22:15:12",
"upload_time_iso_8601": "2023-05-07T22:15:12.367698Z",
"url": "https://files.pythonhosted.org/packages/1d/88/48895e5a182aa7c7bedb72c0b8f2424dd3f6fc95a44e922e7de227d6d0d4/colititato-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fd3e715f40a3c435e9f212c1b1c2730f9eb7e0f323e5490fa31f44668dec159b",
"md5": "d15d5269acf2249f15206335d9a5b21c",
"sha256": "dd50a2a6c7918eeb3d6fe76ee2aeede095b5e95ce60b9b77d937b12ec232c170"
},
"downloads": -1,
"filename": "colititato-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "d15d5269acf2249f15206335d9a5b21c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 5116,
"upload_time": "2023-05-07T22:15:15",
"upload_time_iso_8601": "2023-05-07T22:15:15.492827Z",
"url": "https://files.pythonhosted.org/packages/fd/3e/715f40a3c435e9f212c1b1c2730f9eb7e0f323e5490fa31f44668dec159b/colititato-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-07 22:15:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tiakas",
"github_project": "colititato",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "colititato"
}