- removed not duplicate code in GameWithGui.java