public void EnterBiased() { bool isNegative = false; bool inputCheck = false; while (!inputCheck) { string s = GetUserInput("Indtast 'positive' for at lave bedre terninger eller 'negative' for at lave dårligere terninger"); if (s == "positive") { isNegative = false; inputCheck = true; } else if (s == "negative") { isNegative = true; inputCheck = true; } else { Console.WriteLine("forkert input: skriv 'negative' eller 'positive'"); } } int degree = ParseString(GetUserInput("Indtast graden af bias")); int howMany = ParseString(GetUserInput("Indtast ønsket antal snydeterninger")); yatzy.SetBiasedDices(isNegative, degree, howMany); }