GoSnake

command module
v0.0.0-...-b747725 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2022 License: MIT Imports: 2 Imported by: 0

README

GoSnake

Yet another snake game implemented in golang with go-sdl2.


Screenshots

screenshot

Build

Install go-sdl2. After that simply type

go build main.go

and you'll get your game binary.

If you need the game to be built statically for redistribution, use the following line:

go build -tags static -ldflags "-s -w -H=windowsgui"

This will also get rid of the debug console. Remove "-H=windowsgui" if you need it.


2022, net2cn, proudly coded in boring classes. (And finally get the game works after 2 years.)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL