Skip to content

dewrin/discordTCG

 
 

Repository files navigation

discordTCG

discordTCG is a fully-functional trading card game which works inside Discord. It includes numerous interesting game functions, (currently) over 100 cards, trading, collecting, packs, deck building, etc.

If you have suggestions for cards or mechanics, feel free to open an Issue!

Usage

Invite to existing server

  1. Click this to invite my bot to your server (the bot is not always up so it will probably be offline)
  2. Use the =help and =tutorial commands to learn how to play the game!

Create your own instance of the bot (with your own cards)

  1. Fork/download this
  2. Run pip install discord.py
  3. In config.py, add your private bot key that the Discord Developer section should grant
  4. If you're not using them, delete cards/New Card.py and nodes/New Node.py. Keeping them in will break things - they're just there for reference.
  5. Create an empty folder named player_data in the base directory
  6. Run matchFunctions.py

Potential features

  • Multiple triggers per Node
  • Integrations with other bots
  • Analytics
  • Automatic testing
  • Fuzzy matching for search + card selection

To add cards, use the New Card.py file and "fill in the blanks".

Custom Card Documentation

To add nodes, do the same with New Node.py.

About

Trading card game as a Discord bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%