private static void InitGame(TextGame textGame) { Room startingRoom = new Room("start", "You are in a dark room, you can see nothing."); textGame.AddRoom(startingRoom); textGame.SetStartRoom("start"); }
static void Main() { TextGame textGame = new TextGame(); InitGame(textGame); textGame.Play(); }