Hi! This is a Telegram bot that let's you play tic-tac-toe with your friends!
First, make sure you have python3 and pip installed in your machine. Then, follow this steps:
We are going to use virtualenvs so that none of you have to install the packages we are going to use in your machine's base environment. If you don't have virtualenv installed, just use:
pip install virtualenv
With virtualenv at your disposal, run
source venv/bin/activate
If you're in Linux or
venv\Scripts\activate
If you're in Windows.
To install the dependencies needed, simple run
pip install -f requirements.txt
To run it, simple use
python network.py
or
python game.py
Depending on which team you are working: "network.py" is for team 1 and "game.py" is for team 2.
You can also use nodemon to run the bots. Simply use:
nodemon [bot_name].py