/snake

snake in golang, no external deps, pure terminal codes

Primary LanguageGoMIT LicenseMIT

snake

snake in golang

easiest way without any deps, using ansi controls and terminal foo only, several command line options, control with w-a-s-d , quit with q

  -l int
    	starting length of nibbles
  -p string
    	name of the player (default "Nibbles")
  -r int
    	numbers of random elements to be placed on gamefield
  -s duration
    	speed (default 30ms)
      ```