Apelife

Conway's Game of Life TUI GUI

Download Prebuilt Releases

apelife-2020-12-28.com
112k - PE+ELF+MachO+ZIP+SH executable

apelife-2020-12-28.com.dbg
1.3mb - ELF debug symbols and DWARF data (optional)

Getting Started

curl https://storage.googleapis.com/justine/apelife/spacefiller.rle >spacefiller.rle
curl https://storage.googleapis.com/justine/apelife/apelife-latest.com >apelife.com
chmod +x apelife.com
./apelife.com                  # blank canvas
./apelife.com spacefiller.rle  # opens saved file

If your terminal uses a white or light-colored background (instead of black) then pass the -W flag.

Linux Notes

If you get an error like "unable to find an interpreter" or "err:module:import_dll Library" then your system has likely been tuned to use binfmt-misc. You can safely restore the default Linux behavior for just Actually Portable Executables by running the following command:

sudo sh -c "echo ':APE:M::MZqFpD::/bin/sh:' >/proc/sys/fs/binfmt_misc/register"

Mac OS X Notes

You may need to run:

bash apelife.com -h
Instead of:
./apelife.com -h
This only applies to the first invocation, after which the executable header is patched to have the MachO magic number. It's needed because the recently introduced zsh shell has backwards compatibility issues with UNIX.

Windows Notes

You may need to run:

apelife.com -h
Instead of:
./apelife.com -h

OpenBSD Notes

Recent OpenBSD releases might impose restrictions on using your CPU's SYSCALL instruction without authorization from the OpenBSD C Library DSO. Until APE is patched to use syscall() we'd recommend OpenBSD v6.4.

Release History

2020-12-28

2020-11-28