Minimalist, FFI-friendly 2D game and multimedia engine