• Guides
  • Api Documentation
Show / Hide Table of Contents
  • Introduction
  • MpGame
    • 1 - Getting started
    • 2 - Players
    • 3 - Games
    • 4 - Services
    • 5 - Modules
    • 6 - Final step
    • 7 - Extra considerations
    • 8 - Specialized types

Getting started with MpGame

MpGame allows you to write text-based games for Discord in a relatively easy fashion. In order to use this package, you'll need to write some types of your own:

Required:

  • A Game type, that contains all the logic of actually playing a game
  • A Module type, that contains the commands needed to interact with a game

Optional:

  • A Player type, if a player needs to keep any state at all
  • A GameService type, if you need to manage data outside of a game instance
  • Any other object type you need for your game
  • Improve this Doc
Back to top Generated by DocFX