- Joined
- Jun 27, 2010
- Messages
- 2,763
Can anyone help me for the programming logic to find the winning team in a game?
if all are equal then the game is a draw
if one team has teh highest score he is the winner
if two or three teams hold the highest score simultaneously , they split the win....
there are 4 teams
int Team_Score[]
outcome:
team (index) is the winner / teams index,index are the winners / Draw!
it may be done with triggers or JASS.
if all are equal then the game is a draw
if one team has teh highest score he is the winner
if two or three teams hold the highest score simultaneously , they split the win....
there are 4 teams
int Team_Score[]
outcome:
team (index) is the winner / teams index,index are the winners / Draw!
it may be done with triggers or JASS.