jjmark15 / quiz-app

MIT License
0 stars 0 forks source link

Implement multiple choice questions #44

Open jjmark15 opened 4 years ago

jjmark15 commented 4 years ago

Requirements

Describe the solution you'd like

A clear and concise description of what you want to happen.

Example

What colour do you get if you mix red and blue?

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Suggestions

could have the following trait to be implemented on an answer type:

pub trait IncorrectAnswerOptions: Hash + Sized {
    fn incorrect_options(&self, quantity: usize) -> HashSet<Self>;
}