go get github.com/plutov/go-snake-telnet
go-snake-telnet
docker build -t snake-telnet .
docker run -d -p 8080:8080 snake-telnet
Make sure to install telnet first:
brew install telnet
Then connect to the game:
telnet 127.0.0.1 8080
go test ./... -bench=.