It took me approx 5 hours to build the game . I have used two external libraries termloop and termbox .The instructions to start the game are given below . I have formatted the code using goimports and golang-cilint.
- The minimum dimensions for the game to run is 70 pixels width and 25 pixels height .
$ go get github.com/specter25/snake-cli
$ $GOPATH/bin/snake-cli
$ docker run -ti ujjwal25/snake-cli