updated game logic

fixed a bug with the dots