Over at the botttom of this file:
https://github.com/dom96/snake/blob/master/snake/server.nim
There's a reference to a Nim bug, that necessitates a workaround.
However, if we check the Nim bug tracker, the issue has been closed:
nim-lang/Nim#4753
So now, snake/server.nim can have the code that was originally intended?