A terminal implementation of the Snake game