View Single Post
Old 03-19-2002, 05:31 AM   #3
Scott Vibert
Hall Of Famer
 
Join Date: Dec 2001
Location: My Computer
Posts: 8,268
Post

They have clinched at least a tie, this is what the game is doing now. So if you are one game up with one game left you've clinched a tie. (Same with 2 games up and 2 games left) The star is showing for clinching a tie now.

IngredientX's example is bad math by the game (although you might want to double check the standings there, since normally a computer program can't make a math error.

Easy way to calculate magic number:

No. of games in season - (First Place wins + Second Place losses) = Magic Number to clinch tie

Add one to the result to get magic number to clinch outright.

If the game is going to calculate the magic number in this fashion than it should display the 0 for clinching the tie and only show the * for clinching outright title.

[code]
mgcno = seaslgth - (team1wn + team2ls)
if (mgcno < 0){
display '*'
}else{
display mgcno
}
</pre><hr></blockquote>

Otherwise do this:

[code]
mgcno = 1 + seaslgth - (team1wn + team2ls)
if (mgcno &lt;= 0){
display '*'
}else{
display mgcno
}
</pre><hr></blockquote>


(Sorry for the psuedocode I'm at work so I have that mindset right now.)
Scott Vibert is offline   Reply With Quote