Game method refactorized. Fixed some bugs.