Britbot

calculates how many point per turn each side will get

Parameters:
friendlyPPT
enemyPPT

Definition at line 290 of file SimulatedGame.cs.

        {
            //calc score
            double friendlyPPT = Math.Floor(Math.Pow(2, this.MyIslandCount - 1));
            double enemyPPT = Math.Floor(Math.Pow(2, this.EnemyIslandCount - 1));

            //account for dead ships
            friendlyPPT -= Math.Pow(Magic.FriendlyBaseFactor, this.MyDeadPirates);

            //account for dead enemy ships
            enemyPPT -= Math.Pow(Magic.EnemyBaseFactor, this.EnemyDeadPirates);

            return friendlyPPT - enemyPPT;
        }