Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public BenokolaAlgorithmTests()
 {
     _algorithm = new BenokolaAlgorithm();
 }