Skip to content

Witless/discord-minimax-ttt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord - Minimax -TicTacToe

Minimax implementation for TicTacToe which runs at Discord

Installation

Use the package manager npm to install the dependencies

npm i -y 

Running the bot

  1. Firstly you will need to add your Discord bot token to the .login() method of the DiscordJS Client class, at /discord/main.ts [212:15] (If you don't know how to create a Discord Bot, follow this easy guide)

  2. Next "compile" it all

npm run tsc
  1. And run it!
npm run bot
  1. Now at the Discord server where you have added the bot run the following command
!new

And start playing!

Contributing

Any kind of addition/help/PR is highly welcomed <3

If there are some open issues you can check them too and contribute on your own!

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published