pocketplace

command module
v0.0.0-...-661c5a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2017 License: MIT Imports: 10 Imported by: 0

README

pocketplace

🎆 Draw pixels on a canvas with friends.

Demo

  • Completely in-memory, no need for a database.
  • Statically linked, everything you need in one binary, including the frontend.

Install

  $ go get github.com/olahol/pocketplace

Example

  $ pocketplace -port 8080 -size 200 -cooldown 0
    Canvas pixel size 200x200
    Drawing cooldown 0s
    Listening on port 8080

Development

To build the frontend into the binary I use file2const and go:generate directives. So if you are modifying the frontend don't forget to:

  $ go generate
  $ go build

to build the binary correctly with the updated frontend.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL