Javadoc Newgame, and update part of code

For some reason, part of the code I wrote became invalid, so I rewrote
them again.