Game using Java