HERAT, Afghanistan — A group of young Afghan women in the deeply conservative western Herat province is breaking traditional barriers as their war-torn country’s first female coders in an overwhelmingly male-dominated tech field. The game they created at the Code to Inspire computer training center in the city of Herat, the provincial capital, underscores Afghanistan’s struggle to eradicate vast opium poppy fields ruled by the Taliban. For 20-year-old Khatera Mohammadi, one of the students at the center, it was more than just a game: “Fight against Opium” was based on her brother’s real-life experience years ago as a translator for U.S.