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 virtualenvWith virtualenv at your disposal, run
source venv/bin/activateIf you're in Linux or
venv\Scripts\activateIf you're in Windows.
To install the dependencies needed, simple run
pip install -f requirements.txtTo run it, simple use
python network.pyor
python game.pyDepending 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