If the user chose to play again at the current level (i.e. option 'y'),
the game level didn't get setup again. Because of this, the hp level of
the boss didn't get restored, causing the winning condition (boss hp <
1) to get triggered as soon as the match was started.
I made the setup_level() function get called even if the user doesn't
change the level.