go_of_life

command module
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 3 Imported by: 0

README

Go of Life

A trippy interpretation of Conway's Game of Life.

This is mostly a project to practice my skills in Go and CI/CD (if you wondered why a Game of Life implementation needed a CI build matrix...) and GitHub in general. So it doesn't strive to be perfect and I don't plan to support it. So continue at your own risk, adventurer. It's dangerous alone you might need this: 🗡️

Download

I provide pre-built binaries for Windows, Linux and macOS for the amd64 architecture. For other OS/arch combinations please check "Building from source".

To download a pre-built binary go to the latest release and download the correct binary for your system.

Usage

Linux

Make the file executable and start it

MacOS

MacOS doesn't recognize me as certified developer and stops the execution.

You have to allow the binary by first making it executable and then running it once:

chmod +x GoOfLife-darwin-amd64
./GoOfLife-darwin-amd64

After this you have to open the system settings of MacOS and go to the security tab. There should be a section about the recently run program. Click on "Run anyway".

chmod +x GoOfLife-darwin-amd64
./GoOfLife-darwin-amd64
Windows

In most cases: Just run it and it should work.

If your system doesn't support OpenGL then you have to use Mesa 3D for Window. For more details check this website.

Building from Source

Requirements
  1. Installed and onfigured golang toolchain
  2. The requirements of raylib-go (on which this projects depends) for your environment
Start build

Run the following command:

GOOS=[your target os] GOARCH=[your target arch] go build . -tags noaudio
Examples
Build for Apple Silicon
GOOS=darwin GOARCH=arm64 go build . -tags noaudio
Build for Windows x86
GOOS=windows GOARCH=386 go build . -tags noaudio

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