diff --git a/src/main/java/linux/general/hackyquizbot/QuizBackend.java b/src/main/java/linux/general/hackyquizbot/QuizBackend.java index 030243c..819294e 100644 --- a/src/main/java/linux/general/hackyquizbot/QuizBackend.java +++ b/src/main/java/linux/general/hackyquizbot/QuizBackend.java @@ -15,12 +15,19 @@ public class QuizBackend { } public static class Question { - public Question(String question, String[] answers) { + + /** + * + * @param question The string for the question text + * @param answers The multiple choice answers + * @param mask A mask to be layed over answers to decide which answers are correct and which aren’t + */ + public Question(String question, String[] answers, boolean[] mask) { } /** - * @return the full question text including multiple choice options + * @return the full question text including multiple choice options with letters that correspond to getValidResponses() */ public String getQuestionTextWithOptions() { return null; @@ -32,6 +39,10 @@ public class QuizBackend { public char[] getValidResponses() { return null; } + + public char[] getCorrectResponses() { + return null; + } /** * This is used to send the user’s reply back to the backend. Can be called