Alert box fixed
Integrated declareWinner() function
Fully working gameflow