added reset functionality, game logic bug fixes