Game loop running and dance sequence fixed

Made changes such that the game now keeps on running till either the
player's or the AI's progress bar is maxed out. Also tweaked the code
so that the AI now dances only after the user move is completely over.