Exemple #1
0
        public static Game CreateInstance()
        {
            if (null == game)
            {
                game = new Game();
            }

            return game;
        }
 public MainViewModel()
 {
     game = Game.CreateInstance();
     game.Guess += game_Guess;
 }