Skip to content
/ mog Public

mog is a Minimalistic Online Game server. Built with node.js and socket.io, mog server can connect players in live multiplayer games.

Notifications You must be signed in to change notification settings

lucas-FP/mog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mog

mog is a Minimalistic Online Game server. Built with node.js and socket.io, mog server can connect players in live multiplayer games.

As of this moment, there is only one game implemented: Connect.

Contributing

If you wish to contribute to the project, a good start would be to look into the todo list below. Notice that some of these items will require changes to mog ui.

Todo List

  • Create tests
  • Validate data with joi or similar
  • Define the better way to inject GameControllers into GameDAO
  • Replace redis promise chains with multi - exec commands
  • Turn timer
  • Add a new game

Adding support for a new game

One of the most important things to assure in this project is that new games can be included with minimum adaptation. In order to achieve this, mog uses Game Controllers. Game controllers have two main functionalities: Control how the game responds to player actions, and control how data is read and written to the database. Follow the example of existing game controllers and create a new namespace for the game, using the created controller.

The methods a game controller must implement will be listed and documented in the future.

About

mog is a Minimalistic Online Game server. Built with node.js and socket.io, mog server can connect players in live multiplayer games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published