Ejemplo n.º 1
0
 public GameWindow(GameOptions gameOptions)
 {
     NewGame = new Game(gameOptions);
     InitializeComponent();
     Solution.Visibility = Visibility.Hidden;
     DataContext = NewGame;
     SetDataContextGuess();
 }
Ejemplo n.º 2
0
 public Game(GameOptions gameOptions)
 {
     GameOptions = gameOptions;
     Guesses = new Guess[10];
     CurrentGuess = new Guess();
     GuessNumber = 0;
     GameSolution = new Solution();
 }  
Ejemplo n.º 3
0
 public OptionsWindow()
 {
     _gameOptions = new GameOptions();
     DataContext = _gameOptions;
     InitializeComponent();
 }
Ejemplo n.º 4
0
 public OptionsWindow()
 {
     _gameOptions = new GameOptions();
     DataContext  = _gameOptions;
     InitializeComponent();
 }