A game engine in Java