Live data from Hacker News

A bullet hell game written in bash

twitter.com

1–10 of 16 posts

Re: A bullet hell game written in bash

#4
post #3

Anyone got a link to the repo? Another twitter thread where most of the detail is locked behind a login. Why anyone uses this platform for publishing today is beyond me.

For the full thread, https://xcancel.com/SomeUnusualGame/status/18349462126104005...

For the repo (as linked in that thread), https://github.com/SomeUnusualGames/Tux-vs-Mutant-Window/

Re: A bullet hell game written in bash

#8
So, the game is written in bash much like AI stuff is written in Python.

The heavy lifting is done by a native-code library, while the bash code provides the glue and the overall control logic. (Much like having heavy lifting done by PyTorch with Python code providing general guidance.)

And this is completely fine, to my mind. Bash is intended to be a glue language orchestrating execution of native code. Usually it starts processes, but here it interacts with a native-code library.

See:

https://github.com/taviso/ctypes.sh/

https://github.com/raysan5/raylib

Post reply on HN