Skip to content
Notifications You must be signed in to change notification settings

dear-satan/tris-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

73a2679 · · Jul 6, 2025

History

19 Commits
Jul 2, 2025
Jul 6, 2025
Jul 6, 2025
Jul 6, 2025

Repository files navigation

Tris Bot

A simple Discord bot for playing a Tetris-like game in chat.

Features

  • Play Tetris with emoji graphics directly in Discord
  • Move, rotate, and hard drop pieces using chat commands
  • Automatic piece dropping
  • High score tracking and leaderboard
  • User avatars shown in high scores

Commands

  • !tris — Start a new game
  • !a — Move left
  • !d — Move right
  • !w — Rotate piece
  • !s — Hard drop
  • !q — End current game
  • !score — show top scores and statistics
    • !score @er> — show score and data about this player
  • !trishelp — show help
  • !setspeed — set game speed serverwide

Combine commands (e.g., !aad) for quick moves.

Setup

  1. Install dependencies: pip install discord.py
  2. Place your Discord api in token.txt file in the same directory as tris.py
  3. Run the bot: python tris.py

Or invite with https://discord.com/oauth2/authorize?client_id=1389591768273518664&permissions=551903422528&integration_type=0&scope=botmp;scope=bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages