A simple java game engine