merge
This commit is contained in:
@@ -951,13 +951,17 @@ unsigned int scoreCalculator(score *score_user, bool win)
|
||||
|
||||
unsigned int scoreCalculatorCyp(score *score_user, bool win)
|
||||
{
|
||||
unsigned short int result = 0; //plus grand nombre
|
||||
unsigned short int result = 10000; //plus grand nombre
|
||||
int time = score_user->after - score_user->before;
|
||||
result += (score_user->move_box + score_user->move_player) * time;
|
||||
result -= (score_user->move_box + score_user->move_player) * time;
|
||||
if (!win)
|
||||
{
|
||||
result /= 50;
|
||||
}
|
||||
if(result <0)
|
||||
{
|
||||
result=0;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user