func New() *Game {
	g = &Game{
		Locs: make(map[string]*Location),
	}

	g.Locs["meadow"] = &Location{
		Title:       "Поляна",
		Description: "Солнечная поляна со скамейкой.",
		Exits: map[Dir]string{
			North: "house",
			East:  "church",
		},
	}

	g.Locs["house"] = &Location{
		Title:       "Дом",
		Description: "Кирпичный дом с деревянной дверью.",
		Exits: map[Dir]string{
			South: "meadow",
		},
	}

	g.Locs["church"] = &Location{
		Title:       "Церковь",
		Description: "Покосившаяся деревянная церковь.",
		Exits: map[Dir]string{
			West: "meadow",
		},
	}

	g.CurLoc = g.Locs["meadow"]

	return g
}
// New creates ready to use game.
New creates ready to use game.
// New creates ready to use game .
func New() *Game {
	g = &Game{
		Locs: make(map[string]*Location),
	}
	g.Locs["meadow"] = &Location{
		Title:       "Поляна",
		Description: "Солнечная поляна со скамейкой.",
		Exits: map[Dir]string{
			North: "house",
			East:  "church",
		},
	}
	g.Locs["house"] = &Location{
		Title:       "Дом",
		Description: "Кирпичный дом с деревянной дверью.",
		Exits: map[Dir]string{
			South: "meadow",
		},
	}
	g.Locs["church"] = &Location{
		Title:       "Церковь",
		Description: "Покосившаяся деревянная церковь.",
		Exits: map[Dir]string{
			West: "meadow",
		},
	}
	g.CurLoc = g.Locs["meadow"]
	return g
}
func New ( ) * Game { g = & Game { Locs : make ( map [ string ] * Location ) , } g . Locs [ " " ] = & Location { Title : " Description : " Exits : map [ Dir ] string { North : " " , East : " " , } , } g . Locs [ " " ] = & Location { Title : " Description : " Exits : map [ Dir ] string { South : " " , } , } g . Locs [ " " ] = & Location { Title : " Description : " Exits : map [ Dir ] string { West : " " , } , } g . CurLoc = g . Locs [ " " ] return g }
New creates ready to use game.
New creates ready to use game .