Rudimentary game engine implemented in Java.