Create your desired mafia games! This module is made just for this! Make your own completely automated mafia game. Flexible and easy to use.
To install the module, do npm i mafia
And then require it any of your JS files like so:
const Mafia = require("mafia")
If you're not sure how to use this module, read the starting out guide. (I highly recommend it!)
- Fully object-oriented.
- Full support for a mafia game. You don't need any other packages to get a game running.
- Fully automated game loop.
- Custom roles, role behavior and role stats.
- Custom player stats and behavior.
- Custom game loop events.
- Easily customizable.
- Typings
If you spot an issue / bug with the module, please submit an issue to the module's repository.
If you have anymore questions or you need help you can visit our discord server
The complete changelog can be found here.