Skip to content

3ddelano/discord-slide-puzzle-bot-godot

Repository files navigation

Slide Puzzle in Discord

Play a game in Discord

100% GDScript

Uses Discord.gd to integrate with Discord

Godot3



app screenshot

Features

  • Anti-spam: Allows only the user who requested to play, if another user tries to press the game button, the bot will not allow it
  • Show active player count
  • Change background images
  • Change board size
  • Show or hide tile numbers

Requirements

  1. This repo :)

  2. A Discord bot token from the Discord Developer Portal

  3. Basic knowledge how to invite a Discord bot to a server

Getting Started

  1. Clone or download this repo.

  2. Rename the file token-example.secret to token.secret.

  3. Open the file token.secret, remove the string which is present and instead paste your Discord Bot token in it and save the file.

  4. Open project.godot with Godot.

  5. Run the main.tscn scene.

  6. Now after inviting your bot to some server, you can run the command gd.help to get a list of commands available or run the command gd.play to start the game.

Screenshots

Help command

Help command of the Slide puzzle bot

Game in progress

Slide puzzle game in progress

Donate

If you liked this and want to support me, I would really like a coffee:

Buy Me A Coffee

BTC: 37oUgEknJWZG7s6viV23wwCrfeTGhCZuqr

Support Server

For queries or suggestion, contact @3ddelano#6033: 3ddelano Cafe