|
@@ -149,13 +149,6 @@ impl Game {
|
|
where F: FnMut() -> String,
|
|
where F: FnMut() -> String,
|
|
G: FnMut() -> Vec<char> {
|
|
G: FnMut() -> Vec<char> {
|
|
self.clear_submissions();
|
|
self.clear_submissions();
|
|
-
|
|
|
|
- /*let mut exes = vec![
|
|
|
|
- CreatingEx{ question: "Delikatessfutter für Hunde".to_owned(), letters: vec!['a', 'b', 'c'] },
|
|
|
|
- CreatingEx{ question: "Ein Hotel für die ganze Familie".to_owned(), letters: vec!['b', 'c', 'd'] },
|
|
|
|
- CreatingEx{ question: "Brasilianischer Superstar".to_owned(), letters: vec!['c', 'd', 'e'] },
|
|
|
|
- CreatingEx{ question: "Buchstabe des griechischen Alphabets".to_owned(), letters: vec!['d', 'e', 'f'] },
|
|
|
|
- ];*/
|
|
|
|
for p in &mut self.players {
|
|
for p in &mut self.players {
|
|
p.creating_exercise = Some(
|
|
p.creating_exercise = Some(
|
|
CreatingEx{
|
|
CreatingEx{
|
|
@@ -167,7 +160,7 @@ impl Game {
|
|
self.additional_questions.clear();
|
|
self.additional_questions.clear();
|
|
|
|
|
|
self.additional_questions.push(word_generator());
|
|
self.additional_questions.push(word_generator());
|
|
- self.additional_questions.push(word_generator());
|
|
|
|
|
|
+ //self.additional_questions.push(word_generator());
|
|
|
|
|
|
self.state = GameState::Creating;
|
|
self.state = GameState::Creating;
|
|
}
|
|
}
|