:::::::::::::::::::: :: Alien Invasion :: ::::::::::::::::::::
Golang simulator for a theoretical alien invasion
If there is a compliation error: go/pkg/mod/golang.org/x/sys@(etc..etc..etc)/unix/zsyscall_darwin_amd64.go:##:##: //go:linkname must refer to declared function or variable, run the following command to update the package:
$ go get -u golang.org/x/sys
If there is a compilation error: $GOPATH/go.mod exists but should not, unset the GOPATH:
$ unset GOPATH
- Build it from github cloned folder:
$ make
- Run it FAST (without graphics for large worlds)
$ bin/alien_invasion -refresh 1ns -aliens 6 -distance 3 -moves 10000
- Run it (with graphics for small worlds)
$ bin/alien_invasion -refresh 150ms -aliens 6 -distance 3 -moves 500 -gfx
- Help (With explanation of all arguments (including input/output file options)
$ bin/alien_invasion -help
$ make clean
$ make
$ make format
$ make vet