private static IScoreSnapshot[] MapScoreSnapshots(robocode.control.snapshot.IScoreSnapshot[] bulletSnapshots)
        {
            if (bulletSnapshots == null)
            {
                return null;
            }

            IScoreSnapshot[] mappedSnapshots = new IScoreSnapshot[bulletSnapshots.Length];

            for (int i = 0; i < bulletSnapshots.Length; i++)
            {
                mappedSnapshots[i] = MapScoreSnapshot(bulletSnapshots[i]);
            }
            return mappedSnapshots;
        }
            public int CompareTo(IScoreSnapshot snapshot)
            {
                double myScore = TotalScore + CurrentScore;
                double hisScore = snapshot.TotalScore + snapshot.CurrentScore;

                if (myScore < hisScore)
                {
                    return -1;
                }
                if (myScore > hisScore)
                {
                    return 1;
                }
                return 0;
            }