Update dot_game.js

bug fix