Skip to content

v2.0 – Multi-Game Expansion

Choose a tag to compare

@shivek16 shivek16 released this 21 Nov 05:55
· 22 commits to main since this release

v2.0 – Multi-Game Expansion & Multiplayer Blackjack

This release introduces a massive expansion of the YSDS Discord bot—transforming it from a simple calculator bot into a complete interactive game center.
The bot now supports six games, multiplayer functionality, leaderboards, reminders, and major UX upgrades.

New Features

Multiplayer Blackjack (New Major Feature)

  1. Supports multiple players joining a shared table
  2. Table host + dealer logic
  3. Real-time button interactions (Hit, Stand, Double, Surrender)
  4. Table states isolated per game instance

Single-Player Blackjack Overhaul

  1. Improved deck logic
  2. Cleaner UI
  3. Stand/Hit/Double/Surrender options
  4. Better game state handling

Simon Says (Timed Memory Game)

  1. Increasing difficulty levels
  2. View/answer timers
  3. Auto-hide sequence system
  4. Personal best tracking
  5. slb leaderboard command

Hangman

  1. 40+ CS-themed words
  2. Letter tracking
  3. Win/lose detection
  4. Clean text UI

Hotter/Colder Guess Game

  1. Random number between 1–100
  2. Hotter/Colder feedback based on distance
  3. Track previous guess

Tic-Tac-Toe

  1. Play against the bot
  2. Full ASCII board display
  3. Win/draw detection

Updated Math System

  1. Replaced 4 commands with one:
    /math operation:<add|sub|multi|div> num1: num2:
  2. Legacy commands still supported:
    /add, /sub, /multi, /div

Reminder System

  1. Natural language: 10m, 45 seconds, 2h 30m
  2. Min 10s, max 24h
  3. Sends private follow-up

Utility Commands

  1. /joke – programming jokes
  2. /quote – motivational quotes
  3. /test – simple check

Internal Improvements

  1. Separated single-player and multiplayer blackjack logic
  2. Reduced duplicate code
  3. Improved ephemeral messaging
  4. Added robust state cleanup for games
  5. Simon timers safe against overlap

Files Added

  1. blackjack.js
  2. blackjack-multi.js

Deployment

  1. node commands.js — register commands
  2. node app.js — run bot
  3. Run ngrok → update interaction URL