Telnet games were very popular some time ago, especially this Star Wars movie:
I wanted to create something in Go, and I wrote this Snake game over Telnet.
Go is awesome in this case, no need any dependencies to build this funny stuff.
go get github.com/plutov/go-snake-telnet go-snake-telnet --host localhost --port 8080
It’s open source project, so feel free to contribute - go-snake-telnet.