Skip to content
/ go Public

A Webserver for a Multiplayer Game

License

Notifications You must be signed in to change notification settings

jumper149/go

Repository files navigation

go

A webserver for a multiplayer game.

Travis CI License

Usage

playing go

To play with your friends just set up a game and then share the link after connecting to it. Each player can then choose a color in-game and play.

Install

Install go with NixOS configuration. Add the options to your configuration by importing service.nix and enable the service:

{ config, pkgs, ... }: {
  #...
  imports = let go = fetchGit {
                       url = "https://github.com/jumper149/go.git";
                       ref = "master";
                       rev = "aa7e55aa10e2bcec7301ce9b2e10b7461167a8f5";
                     };
            in [
                 #...
                 "${go}/service.nix"
                 #...
               ];
  #...
  services.go = {
    enable = true;
    #port = 8022;
    openFirewall = true;
  };
  #...
}

Development

Build with nix:

nix-build

Build with cabal in nix-shell:

nix-shell --run "cabal v2-build"         # build server
nix-shell --run "cabal v2-build --ghcjs" # build client

About

A Webserver for a Multiplayer Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages