go-alien-invasion simulates an alien invasion.
The simulation runs until all the aliens have beendestroyed, no cities are remaining, or each alien has moved at least 10,000 times.
- Go version 1.8, with $GOPATH set to your preferred directory
$ git clone https://github.com/ameets/go-alien-invasion.git
$ cd go-alien-invasion
$ go buildStart simulation:
$ ./go-alien-invasion -n <numAliens>Run tests:
$ go test ./...