We also wrote a few clients (ncurses, android, flash), most of them remained unfinished/unreleased, including the server, unfortunately. I meant to put it on GitHub but still hesitating since it would only be for educational purpose and no real interest in pursuing the project much further.
[0]: https://gist.github.com/rndstr/fd7c85d8ee7fad800000 [1]: https://gist.github.com/rndstr/fd7c85d8ee7fad800000#file-gam...
The repo is below, he added disclaimers that it's rough code and was enough to help him make some useful decisions mainly around game length and balance as he developed his game.