Stef-DP/bot-ntts

A bot made for a contest in the NTTS (No Text To Speech) Discord server

โ˜… 0Forks 0JavaScriptGitHub โ†—Compare

README

Bot NTTS

Description

We made this bot with the intention to create some minigames that are not so famous on Discord or are in a very few bots.
The Rock Paper Scissors Lizard Spock minigame is a modified version of the common Rock Paper Scissors with the addition of Lizard and Spock, the original idea was taken from The Big Bang Theory.
The Tic Tac Toe minigame is the classic minigame with the addition of 3 levels of difficulty against the bot (easy = 1, medium = 2, hard = 3).
The Battleship minigame is the classic battleship.
Whenever a user plays a minigame, the bot records if they won, lost or tied, those data are then displayed in a leaderboard on the /leaderboard command

Commands

Rock Paper Scissors Lizard Spock (/rps-lizard-spock)

A different version of rock paper scissors. You can either play against the bot or against another user.

The game rules are:

  • โœ‚๏ธ beats ๐Ÿ“ฐ
  • ๐Ÿ“ฐ beats ๐Ÿชจ
  • ๐Ÿชจ beats ๐Ÿ“ฐ
  • ๐Ÿชจ beats ๐ŸฆŽ
  • ๐ŸฆŽ beats ๐Ÿ––
  • ๐Ÿ–– beats โœ‚๏ธ
  • โœ‚๏ธ beats ๐ŸฆŽ
  • ๐ŸฆŽ beats ๐Ÿ“ฐ
  • ๐Ÿ“ฐ beats ๐Ÿ––
  • ๐Ÿ–– beats ๐Ÿชจ

(they are also avaible by running /rps-lizard-spock help:True

Battleship (/battleship)

Play battleship aganist another user. The game first asks both users to place their own boat, then starts the game. During the game the users can view their own board (with enemy's hits) and a board with their own hits (without enemy's boats)

The meaning of the emojis in the own board is:

  • - Water without a hit
  • - Water with an enemy missed hit
  • - Ship without a hit
  • - Ship hit by the enemy

The meaning of the emojis in the hits board is:

  • - Water wirthout a hit
  • - Water with a own missed hit
  • - Water with an own successful hit

these are also avaible in the correspoding board before the board all the used emojis are also avaible in the /assets folder

Tic Tac Toe (/tictactoe)

The classic minigame with the addition of 3 levels of difficulty against the bot (easy = 1, medium = 2, hard = 3) and a mode agaist another user

Leaderboard (/leaderboard)

Shows the server leaderboard of wins, ties or loses in the selected game

Hosting

Download the bot

  1. git clone https://github.com/Stef-00012/bot-ntts
  2. cd bot-ntts

Configure the bot

The configuration file is config.json, in there you must chnage those options

Start the bot

To start the bot just run the command npm start in the same folder

Credits

Contributors

Stef-DPCiao287

Issues