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
Gametype, that contains all the logic of actually playing a game - A
Moduletype, that contains the commands needed to interact with a game
Optional:
- A
Playertype, if a player needs to keep any state at all - A
GameServicetype, if you need to manage data outside of a game instance - Any other object type you need for your game