This is an implementation of Greed in Python and Zig. Controls are as follows:
q w e
\|/
a-+-d
/|\
z x c
However, this is editable through CONTROL
variable. Also, press <space> to quit, but this is also editable through QUITKEY
variable.
At least Python 3.6 is required because of f-strings. Required third-party library is readchar (for getch/get a keypress). Note that as of writing, readchar only works for Linux and Windows. To install:
pip install readchar
Zig 0.12 is required. Works for Linux and Windows, although a cross-platform getch package for Zig is still a TODO. To compile:
zig build-exe -lc greed.zig
GPLv3 FTW!