BIT-Studio-1 / project-23-1-orangehathackers

project-23-1-orangehathackers created by GitHub Classroom
0 stars 0 forks source link

Add new case called stroyline #14

Open Krittapas2004 opened 1 year ago

Krittapas2004 commented 1 year ago

Having a new case call Storyline. This will help the player to went back to the storyline, when they first enter the room`

Example


case "STORYLINE"
Console.WriteLine("Stepping into the library, you are surrounded by shelves filled with dusty tomes and scrolls. The air is thick with the scent of ancient parchment. Sunlight filters through stained glass windows, illuminating a large desk at the center of the room. On it lies a game for you to win.");
Console.WriteLine("On the right, you see a ladder leading into the tunnel. There a book laying on the side of the shelves");
Console.WriteLine("There is a puzzle for you to solve.");
break;
Krittapas2004 commented 1 year ago

I have finished adding a storyline in library room

Morrnc1 commented 1 year ago

I have added a case called storyline but in a different way. please review and give feed back on this. If it is an improvemnt implement it and if not i shell change it.

case "STORYLINE":
        Console.Clear();
        foreach (string message in messages)
        {
                  Console.WriteLine("       " + message);
                  System.Threading.Thread.Sleep(500);
        }
        break;

This relies on the message array as seen below.

string[] messages = {
                " ",
                " ",
                " ",
                " ",
                " ",
                " ",
                " .",
            };
SupaHotBall commented 1 year ago

i have finish my story line in my altar room method

Mayank-1709 commented 1 year ago

Finished the stroyline case in chamber of shadows.