All Projects → utarwyn → discord-tictactoe

utarwyn / discord-tictactoe

Licence: Apache-2.0 license
Highly customizable innovative Discord Bot for playing Tic-Tac-Toe 🎮🏅

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to discord-tictactoe

djs-games
A package for discord.js mini games which can be used in your bots
Stars: ✭ 41 (-51.19%)
Mutual labels:  discord-js, discord-games
Max-Bot
Max Bot is an open-source bot made in node-js with discord-js. It Has Commands from fun to moderator.
Stars: ✭ 27 (-67.86%)
Mutual labels:  discord-js
ultimate-ttt
Play "Ultimate Tic-Tac-Toe" in the browser 🚀
Stars: ✭ 20 (-76.19%)
Mutual labels:  tic-tac-toe
SiruBOT
SiruBOT, Multipurpose discord musicbot
Stars: ✭ 21 (-75%)
Mutual labels:  discord-js
tic-tac-toe
Play tic-tac-toe in your Terminal
Stars: ✭ 42 (-50%)
Mutual labels:  tic-tac-toe
ToastyXD
Toasty XD is a Discord Bot that has many features, such as slash commands, server verification captcha system, staff inactive notices, staff activity checks and a word blacklist system.
Stars: ✭ 39 (-53.57%)
Mutual labels:  discord-js
tictac
Un-winnable game of Tic Tac Toe using MinMax
Stars: ✭ 15 (-82.14%)
Mutual labels:  tic-tac-toe
pieces
Piece loader for @sapphire/framework
Stars: ✭ 17 (-79.76%)
Mutual labels:  discord-js
slash-commands
slash commands handler to make your bot support slash commands.
Stars: ✭ 59 (-29.76%)
Mutual labels:  discord-js
Luki
[Deprecated] The official repository for Luki the Discord bot
Stars: ✭ 21 (-75%)
Mutual labels:  discord-js
Alexi5
A Discord Bot built using discordJS. Started as a joke for spamming memes. Branch "v2" is currently being used for active development. Hosted on Heroku.
Stars: ✭ 19 (-77.38%)
Mutual labels:  discord-js
megumin-selfbot
My selfbot. Use if you like!
Stars: ✭ 11 (-86.9%)
Mutual labels:  discord-js
DraconianJSBot
With its robust performance, intuitive design, and vast array of functionalities, the Draconian Bot is the ultimate solution for all your needs.
Stars: ✭ 113 (+34.52%)
Mutual labels:  discord-js
AndTTT
🎲 Simple tic tac toe game for Android
Stars: ✭ 15 (-82.14%)
Mutual labels:  tic-tac-toe
hyouka
Um bot open-source com dashboard incluída
Stars: ✭ 12 (-85.71%)
Mutual labels:  discord-js
alpha-zero
AlphaZero implementation for Othello, Connect-Four and Tic-Tac-Toe based on "Mastering the game of Go without human knowledge" and "Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm" by DeepMind.
Stars: ✭ 68 (-19.05%)
Mutual labels:  tic-tac-toe
botkit-discord
🤖👾 A Botkit connector for Discord with support for text, voice, attachments, embedded messages, and more.
Stars: ✭ 37 (-55.95%)
Mutual labels:  discord-js
DiscordBot-Template
A bot template with command , event , button , selectmenus , slashcommands handler and error handlers. Made in Discord.JS V13
Stars: ✭ 131 (+55.95%)
Mutual labels:  discord-js
PteroStats
PteroStats is a bot designed to check Pterodactyl Panel and Nodes status and post it to your discord server
Stars: ✭ 122 (+45.24%)
Mutual labels:  discord-js
ChatBot
A W.I.P All-in-One Discord Bot
Stars: ✭ 32 (-61.9%)
Mutual labels:  discord-js
Discord TicTacToe logo

An innovative Bot for playing Tic Tac Toe on Discord!
Created with discord.js.

Quality Gate Status npm Docker Build status License

demo

"Discord TicTacToe" is a self-hosted NodeJS bot which allows you to play the popular TicTacToe game on Discord. Invite your friends or play against our robot, a fearsome opponent. Use /tictactoe command to challenge someone else and use buttons to play, so simple! Works out-of-the-box, no configuration needed.

If you have a problem when using the bot, or you want to propose a new feature, feel free to open an issue.

Have fun! 🥳

Requirements

Before installing the bot, you need to create your own Discord Application. Then, you can install the bot via Docker or npm (check below!). If you are not a programmer, I recommend you to opt for Docker because its the easiest solution.

⚠️ Make sure your Discord bot has these permissions in all channels where games can be played: "Read message history", "Send messages", "View channel", "Application commands" or "Add reactions" depending on what you plan to use.

Installation

The module is suitable for discord.js v12, v13 and v14. Check the table below to see which version meets your needs.

discord.js Node.JS Module version Status NPM package Docker image
v14.* 16.9+ v4.* Active discord-tictactoe@^4 utarwyn/discord-tictactoe@4
v13.* 16.6+ v3.* Active discord-tictactoe@^3 utarwyn/discord-tictactoe@3
v12.* 14+ v2.* Legacy discord-tictactoe@^2 utarwyn/discord-tictactoe@2

The bot works out-of-the-box. But if you want to configure it, check config.example.json file in the config folder.

🔥 Discord buttons are only supported from v3 of the module.

Running via Docker

  1. Make sure to have Docker installed.
  2. Start Docker container based on one of our DockerHub images using an API token:
    docker run -e TOKEN=YOUR_TOKEN utarwyn/discord-tictactoe@4
  3. You can pass options directly with -e OPTION_NAME=option_value or use the option -v $(pwd)/config/config.json:/app/config/config.json to load an entire config file.

Running via Node.js

  1. Check with node -v that you are running appropriate Node.js version.
  2. Install the project from npm:
    npm install discord-tictactoe@^4 or yarn add discord-tictactoe@^4
  3. Import module into your script:
    const TicTacToe = require('discord-tictactoe');
  4. Check usage examples in this wiki page.

Setup slash command

Slash command are enabled by default starting from v3!
Just mention the bot with tttdeploy somewhere in your server to install it (admin only).

🚀 Want more info? Check this detailed guide.

License

"Discord TicTacToe" is open-sourced software licensed under the Apache-2.0 license.


GitHub @utarwyn  ·  Twitter @Utarwyn

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].