Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.
/ tictactoe Public archive

A simple Tic Tac Toe Discord bot powered by minimax algorithm

License

Notifications You must be signed in to change notification settings

norinorin/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Tic Tac Toe Discord Bot

This was just a project that I did in 3 hours, unlikely gonna get maintained. It uses a JSON. So, it definitely doesn't scale. You can alternatively use any db, preferably RDBMS.

This app uses minimax algorithm and is written with discord.py library to integrate with Discord API.

Requirements

  • A Discord application
  • What's listed in requirements.txt
  • Python 3.8+ (for backward compatibility, remove all walrus operators)
  • A file named config.json in the root directory that contains token key

Running

After having all the requirements, just run the main file.

# Unix
python3 main.py

# Windows
py -3 main.py

Credits

This project uses Open Source components. You can find the source code of their open source projects along with license information below.

About

A simple Tic Tac Toe Discord bot powered by minimax algorithm

Resources

License

Stars

Watchers

Forks

Languages