Collaboratively write a story, 3 words at a time! The only trick... you can't follow your own 3 words.
$ git clone https://github.com/gophergala2016/3wordgame.git
$ go run client.go
To run your own server, simply:
$ go run server.go
By default the server listens on port 8080, though this can be changed by specifing the --port
option e.g.:
$ go run server.go --port 8080
Clients by default try to connect to 3wordgame.com:8080
this can also be changed by specifying --server
and --port
args e.g.:
$ go run client.go --server 127.0.01 --port 9090
To run tests for the validation
$ go test ./validation