implements restart game, fix game over bug and more