Ace of Shades

A top-down 2D shooter game inspired by Ace of Spades, and was made as a submission the 2021 Java Discord server's Java Jam. Includes a dedicated server, client, and server registry application.

Java programming language logo

Ace of Shades 2

A 3D first-person shooter designed as the successor to Ace of Shades. This was again made as a 2022 Java Discord Java Jam submission, but I continued to develop it well beyond that.

Java programming language logo OpenGL API logo

Handy-Httpd

An extremely lightweight and flexible HTTP server implemented in the D programming language. Below is an example of a "Hello world" server that just says "Hello" in response to any request.


                import handy_httpd;

                void main() {
                    HttpServer server = new HttpServer((ref ctx) {
                        ctx.response.writeBodyString("Hello");
                    });
                    server.start();
                }
            
D programming language logo

Movescript & Itemscript

Simple grammars for concisely defining robotic movement and inventory management for ComputerCraft robots in Minecraft.

Instead of doing this:


                turtle.forward()
                turtle.forward()
                local success = turtle.up()
                while not success do
                    success = turtle.up()
                end
                turtle.dig()
            

You can use Movescript to safely move using a simpler syntax:


                local ms = require("movescript")
                ms.run("2FUDg")
            
Lua programming language logo

Rail Signal

API and web app for designing and managing rail systems, with real-time data updates via websockets. Originally designed for use with Minecraft and the Immersive Railroading mod, but practically can be used anywhere, as long as you've got the right device driver.

Java programming language logo Spring Framework logo Vue JS framework logo Lua programming language logo

SLF4D

A common logging interface for D projects, inspired by Java's SLF4J interfaces, but in an idiomatic D way. Any library can make use of SLF4D, while still letting the application developer decide how log messages are handled.

Here's an example of how it's used:


                import slf4d;

                void myFunction(int n) {
                    infoF!"Called myFunction with n = %d"(n);
                    for (int i = 0; i < n; i++) {
                        try {
                            doSomethingRisky(i);
                        } catch (Exception e) {
                            warn("Failed to do something risky.", e);
                        }
                    }
                }
            
D programming language logo

Streams

A library that defines compile-time primitives and helper functions for working with streams of elements. A stream is anything which provides a readFromStream or writeToStream method. Also includes many stream implementations for things like files, sockets, chunked encoding, buffering, and more.

D programming language logo