Checkstyle/PMD for newgame and marketerr package

checkstyle/PMD