Skip to content
/ snake Public

Game snake written in go. No third-dependance

License

Notifications You must be signed in to change notification settings

woorui/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5ba9ac7 · Jan 11, 2023
Jan 11, 2023
Jan 11, 2023
Aug 13, 2019
May 31, 2019
Jan 11, 2023
Jan 11, 2023
Aug 10, 2022
Aug 9, 2022
Aug 9, 2022
Aug 9, 2022
Aug 9, 2022
Aug 25, 2022
Jul 8, 2019
Aug 9, 2022
Aug 9, 2022
Jan 11, 2023
Aug 9, 2022
Aug 6, 2020
Aug 9, 2022

Repository files navigation

Game snake written in go, No third-dependence

Build Status Docker Docker Image CI codecov

The snake is controlled with w, a, s and d, It don't support windows (but docker supported).

Install

curl -fsSL "https://bina.egoist.dev/woorui/snake" | sh

or

go install github.com/woorui/snake

Flags

> snake -h
Usage of snake:
  -height int
        game stage height (default 12)
  -speed int
        game speed, duration between two frames (default 120)
  -width int
        game stage width (default 25)

Run

snake

Show the running result

Run with docker

see here: https://github.com/woorui/snake/pkgs/container/snake