added javadoc to gameplay