Esempio n. 1
0
        /// <summary>
        /// Load game resources
        /// </summary>
        public static void LoadGameResources()
        {
            // load resources
            Gallows.LoadGallowsDrawing();

            // define game difficulties
            Difficulties.Add(new GameDifficulty
            {
                Level             = 1,
                Name              = "Mineur",
                MinimumWordLength = 0,
                GallowsParts      = new List <string>()
                {
                    "1", "2", "3", "4", "a", "b", "c", "d", "e", "f"
                }
            });
            Difficulties.Add(new GameDifficulty
            {
                Level             = 2,
                Name              = "Majeur",
                MinimumWordLength = 5,
                GallowsParts      = new List <string>()
                {
                    "12", "34", "a", "b", "cd", "ef"
                }
            });
            Difficulties.Add(new GameDifficulty
            {
                Level             = 3,
                Name              = "Terrible",
                MinimumWordLength = 6,
                GallowsParts      = new List <string>()
                {
                    "1234", "a", "bcd", "ef"
                }
            });
        }