Early stage game engine from scratch