Prihlasovacie meno: Heslo:
Registrácia nového užívateľa
Moderátor: rod03801 
 Feature requests

Do you miss something on BrainKing.com and would you like to see it here? Post your request into this board!
If there is a more specific board for the request, (i.e. game rule changes etc) then it should be posted and discussed on that specific board.

For further information about Feature Requests, please visit this link on the Brainking.Info site : http://brainking.info/archives/20-About-feature-requests.html


Zoznam diskusných klubov
Mód: Každý môže písať
Hľadať v príspevkoch:  

26. marca 2007, 20:14:25
mctrivia 
Subjekt: Re: Removing tournament hand-brakes
Zmenené užívateľom mctrivia (26. marca 2007, 20:34:38)
nabla:
<b>nabla</b>: The absolute simplest way to calculate absolute winner.

x=0;
do
{
  maylose=false;
  y=0;
  while (y<players && maylose==false)
  {
    if x!=y
    {
      if player[x].points<player[y].points+player[y].notdone
        maylose=true;
    }
    y++;
  }
  x++
} while (x<players && maylose==true)
if maylose==false
{
  //player[x-1] is the winner
}

It works under the principle that if player x loses all his games and every other player wins all there games and he still beats them then he is definetly the winner.

Dátum a čas
Priatelia on-line
Obľúbené kluby
Spoločenstvá
Tip dňa
Copyright © 2002 - 2024 Filip Rachůnek, všetky práva vyhradené.
Späť na vrchol