DiscordTCG Save

Trading card game as a Discord bot

Project README

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.

Open Source Agenda is not affiliated with "DiscordTCG" Project. README Source: timswyzen/discordTCG
Stars
57
Open Issues
1
Last Commit
1 year ago

Open Source Agenda Badge

Open Source Agenda Rating