A Java Based Game Engine