game now redirects to result page when game is over