drawing everything properly and resets when game is over