Update the gameAPI... Details in description

1. Just find out somehow the gameAPI is a old one... so the game will
not end properly.
2. Also fix a bug when the game ends.
3. Comment also debug log.