Skip to content

vsupalov/mwdns

 
 

Repository files navigation

Installation

TODO :) with go get. Maybe even explain installing/setting up go?

Node dependencies for minification:

sudo npm install -g less uglify-js

Running

First, compile the server by simply running go build.

By default, the server listens on localhost:8080, in order to specify a different port to listen to, but also to listen to an interface which is opened to the world, set the -addr to your hostname or public IP:

$ ./mwdns -addr jupiler:9000

Positions and coordinates

Coordinate-system is the javascript one, (0,0) being top left, x increasing towards the right, y increasing towards the bottom.

Client-side (js), all positions are stored in pixels. In the messages aswell as on the server (go), all positions are relative in % of game board size, i.e. between 0.0 and 1.0 if on the board.

About

Memory Which Does Not Suck - play turn-based and realtime memory with your friends in the browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.3%
  • Go 29.4%
  • HTML 10.6%
  • Less 3.9%
  • Other 0.8%