changing name of drawgame function to reset_game