simplified GameSate and written Javadoc