Final working

Tested
1. Player1 win
2.Player2 win
3.Tie