tcpgameserver

command module
v0.0.0-...-2555dbd Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2015 License: MIT Imports: 11 Imported by: 0

README

tcpgameserver

Run the server with go run server.go

Run the client with go run client.go

You can then issue game client commands ('move' or 'attack') with messages associated with the commands, and all clients will receive an updated gamestate (one that is approved by the server). Everything is asynchronous, and uses JSON-formatted []byte slices as message payloads.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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