UNPKG

playship_ludo_pseudo_quick

Version:

Server side neutrino plugin code for ludo game

18 lines (15 loc) 314 B
const ENUM = require("./enums") const events = ENUM.NEW_EVENTS let killEvent = function(){ this.killer_score = 0; this.victim_score = 0; this.killed_pawn_points = 0; this.killer_pawn_points = 0; } let homeEvent = function(){ this.current_home_count = 0; } module.exports = { killEvent, homeEvent }