Giter Club home page Giter Club logo

fktcg's Introduction

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. Run matchFunctions.py

Potential features

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

Refactoring todo

  • Rework trade monolith function?
  • Dynamic triggers

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.

fktcg's People

Contributors

timswyzen avatar gmcrimson avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.