cleanup of game.js done. dialog is next.