Exemple #1
0
        protected GameManager(DrinctetStatus status)
        {
            Status = status;

            switch (status.SelectionAlgorithm)
            {
            case SelectionAlgorithm.Benokla:
                Selection = new BenokolaAlgorithm();
                break;

            default:
                throw new ArgumentOutOfRangeException();
            }

            Selection.Initialize(status, Random);
        }
Exemple #2
0
 public BenokolaAlgorithmTests()
 {
     _algorithm = new BenokolaAlgorithm();
 }