Skip to content

Hi! This is a Telegram bot that let's you play tic-tac-toe with your friends!

License

Notifications You must be signed in to change notification settings

USPCodeLabSanca/onboarding_tic-tac-toe_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Onboarding's Tic-Tac-Toe Telegram Bot

Hi! This is a Telegram bot that let's you play tic-tac-toe with your friends!

Getting started

First, make sure you have python3 and pip installed in your machine. Then, follow this steps:

Activate virtualenv

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.

Install dependencies

To install the dependencies needed, simple run

pip install -f requirements.txt

Running the bot

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

About

Hi! This is a Telegram bot that let's you play tic-tac-toe with your friends!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages