Projects

Rust Libs

Congrats on finding my website!

Anyway hi, I'm a linux hackerman in his early 20s who likes to code too many things at once.

btw I screwed around with the colour scheme, hopefully it's not too painful


#

Kovarust is my attempt at a free Minecraft clone. I'm aiming for it to be a viable replacement for Java Edition eventually. It's written in Rust, and will hopefully be faster and more versatile than the original Minecraft, with as many features actually implemented as plugins as I could manage.

I've redesigned every aspect of this thing about 5 times before it's even compiling, so it'll taking me a while to get it right, but it is progressing.

#

Tetris

Back in the good 'ol days before I started learning Rust (and subsequently rendered my PinePhone useless by desoldering its SIM card reader using rustc), I just felt like playing Tetris.

So, in between pretending I was learning how to do loops in java for uni, I ended up making this in a day in C. It's under 400 lines long, so it could be used to dissect and learn programming in C, I guess.
Not that it's especially good code, but still.

#

Random scripts

Just a collection of utilities/games I wrote in zsh for one reason or another. Note you'll probably have to chmod +x to run these. Also I haven't tested them in bash becuase it's gay and you should be using zsh.

bytecalc is a byte unit converter, that is, working in multiples of 1024.
(fend is good for this and a lot more)

list is a (janky) list iterator - basically, loop over each line in a list and run a command on it. If the command works, remove the line, otherwise keep it to maybe retry later. I use it for mass curling memes and ignoring the URLs with duplicate filenames until after I categorize the previous batch.
NO MEME LEFT BEHIND

dewit is like a user-level version of runit (i.e. a user-service manager) that you can put in your crontab. I use it to run my website.

sc's just my screenshot command, using shotgun to select a window/area and crud to actually get the picture. Then it either copies it to the clipboard or saves it to a file, if one is specified.

pong.sh is Pong in shell. W/S & J/K to move the paddles. Good luck with the collision system.

1248.sh is a minimal shell implementation of the classic 2048, but in a terminal and with Vim controls (also featuring saving/loading games). To save on space, tiles are incremented linearly instead of doubling (2048 = 2 ^ 11). If you have any other questions, consult the sauce.