UNPKG

playship_ludo_pseudo_quick

Version:

Server side neutrino plugin code for ludo game

12 lines (9 loc) 262 B
const gamePlugin = require('./src/gamePlugin'); const Ludo = function() { }; // add plugins for (let plugin of Object.keys(gamePlugin)) { if (typeof gamePlugin[plugin] === 'function') Ludo.prototype[plugin] = gamePlugin[plugin]; } module.exports = Ludo;