minimal scala game engine