Use strict mode + refactor 'gameState'