diff --git a/QuizExperiment.Admin/Client/Pages/Tests/Client/AnswerSummary.razor b/QuizExperiment.Admin/Client/Pages/Tests/Client/AnswerSummary.razor
new file mode 100644
index 0000000..9e60b56
--- /dev/null
+++ b/QuizExperiment.Admin/Client/Pages/Tests/Client/AnswerSummary.razor
@@ -0,0 +1,37 @@
+@page "/test/client/answersummary"
+@using QuizModels = QuizExperiment.Models.Client
+@layout QuizExperiment.Admin.Client.Shared.Client.Layout
+
+
+
+@code {
+ QuizModels.ClientMultipleChoiceAnswer myAnswer = new QuizModels.ClientMultipleChoiceAnswer
+ {
+ AnswerIndex = 1
+ };
+
+ QuizModels.ClientMultipleChoiceQuestion question = new QuizModels.ClientMultipleChoiceQuestion
+ {
+ Title = "This is a test Question, it goes on a bit, in fact it goes on for ages and ages and ages",
+ ImageUrl = "https://imgur.com/NkMONh3",
+ Options = new List
+ {
+ "Option 1",
+ "Option 2 - This option is really long and will wrap to the next line",
+ "Option 3",
+ "Option 4"
+ },
+ };
+
+ QuizModels.ClientMultipleChoiceAnswer correctAnswer = new QuizModels.ClientMultipleChoiceAnswer
+ {
+ AnswerIndex = 0
+ };
+
+}
\ No newline at end of file
diff --git a/QuizExperiment.Admin/Client/Pages/Tests/Client/JoinQuiz.razor b/QuizExperiment.Admin/Client/Pages/Tests/Client/JoinQuiz.razor
new file mode 100644
index 0000000..b33b8b7
--- /dev/null
+++ b/QuizExperiment.Admin/Client/Pages/Tests/Client/JoinQuiz.razor
@@ -0,0 +1,13 @@
+@page "/test/client/joinquiz"
+@layout QuizExperiment.Admin.Client.Shared.Client.Layout
+
+
+
+@code {
+ private void HandleQuizIdSubmit(string quizId)
+ {
+ // Handle the submitted quiz ID
+ Console.WriteLine($"Quiz ID submitted: {quizId}");
+ // Potentially invoke a method to initiate the quiz based on the quiz ID
+ }
+}
\ No newline at end of file
diff --git a/QuizExperiment.Admin/Client/Pages/Tests/Client/MultipleChoiceQuestion.razor b/QuizExperiment.Admin/Client/Pages/Tests/Client/MultipleChoiceQuestion.razor
new file mode 100644
index 0000000..012b0e2
--- /dev/null
+++ b/QuizExperiment.Admin/Client/Pages/Tests/Client/MultipleChoiceQuestion.razor
@@ -0,0 +1,26 @@
+@page "/test/client/multiplechoice"
+@using QuizModels = QuizExperiment.Models.Client
+@layout QuizExperiment.Admin.Client.Shared.Client.Layout
+
+
+
+@code {
+ private QuizModels.ClientMultipleChoiceQuestion _currentQuestion = new QuizModels.ClientMultipleChoiceQuestion
+ {
+ Title = "This is a test Question, it goes on a bit, in fact it goes on for ages and ages and ages",
+ Options = new List
+ {
+ "Option 1",
+ "Option 2 - This option is really long and will wrap to the next line",
+ "Option 3",
+ "Option 4"
+ },
+ ImageUrl = "https://imgur.com/NkMONh3"
+ };
+
+ private void AnswerQuestion(QuizModels.ClientAnswer answerIndex)
+ {
+ Console.WriteLine($"User answered: {answerIndex}");
+ }
+}
\ No newline at end of file
diff --git a/QuizExperiment.Admin/Client/Pages/Tests/PlayerPositionTest.razor b/QuizExperiment.Admin/Client/Pages/Tests/Client/PlayerPosition.razor
similarity index 70%
rename from QuizExperiment.Admin/Client/Pages/Tests/PlayerPositionTest.razor
rename to QuizExperiment.Admin/Client/Pages/Tests/Client/PlayerPosition.razor
index 10a3a8f..5f872ca 100644
--- a/QuizExperiment.Admin/Client/Pages/Tests/PlayerPositionTest.razor
+++ b/QuizExperiment.Admin/Client/Pages/Tests/Client/PlayerPosition.razor
@@ -1,5 +1,6 @@
-@page "/test/playerposition"
-
+@page "/test/client/playerposition"
+@layout QuizExperiment.Admin.Client.Shared.Client.Layout
+
@code {
diff --git a/QuizExperiment.Admin/Client/Pages/Tests/Client/TrueFalseQuestion.razor b/QuizExperiment.Admin/Client/Pages/Tests/Client/TrueFalseQuestion.razor
new file mode 100644
index 0000000..79e3513
--- /dev/null
+++ b/QuizExperiment.Admin/Client/Pages/Tests/Client/TrueFalseQuestion.razor
@@ -0,0 +1,19 @@
+@page "/test/client/truefalse"
+@using QuizModels = QuizExperiment.Models.Client
+@layout QuizExperiment.Admin.Client.Shared.Client.Layout
+
+
+
+@code {
+ private QuizModels.ClientTrueFalseQuestion _currentQuestion = new QuizModels.ClientTrueFalseQuestion
+ {
+ Title = "This is a test Question, it goes on a bit, in fact it goes on for ages and ages and ages",
+ ImageUrl = "https://imgur.com/NkMONh3"
+ };
+
+ private void AnswerQuestion(QuizModels.ClientAnswer answerIndex)
+ {
+ Console.WriteLine($"User answered: {answerIndex}");
+ }
+}
\ No newline at end of file
diff --git a/QuizExperiment.Admin/Client/Pages/Tests/Client/UserName.razor b/QuizExperiment.Admin/Client/Pages/Tests/Client/UserName.razor
new file mode 100644
index 0000000..4276edd
--- /dev/null
+++ b/QuizExperiment.Admin/Client/Pages/Tests/Client/UserName.razor
@@ -0,0 +1,13 @@
+@page "/test/client/username"
+@layout QuizExperiment.Admin.Client.Shared.Client.Layout
+
+
+
+@code {
+ private void HandleUserNameSubmit(string userName)
+ {
+ // Handle the submitted username
+ // Potentially invoke a method to set the username in a service or state
+ Console.WriteLine($"Username submitted: {userName}");
+ }
+}
\ No newline at end of file
diff --git a/QuizExperiment.Admin/Client/Pages/Tests/Client/WaitingForAnswerCheck.razor b/QuizExperiment.Admin/Client/Pages/Tests/Client/WaitingForAnswerCheck.razor
new file mode 100644
index 0000000..b5085e7
--- /dev/null
+++ b/QuizExperiment.Admin/Client/Pages/Tests/Client/WaitingForAnswerCheck.razor
@@ -0,0 +1,7 @@
+@page "/test/client/waitingforanswer"
+@layout QuizExperiment.Admin.Client.Shared.Client.Layout
+
+
+
+@code {
+}
\ No newline at end of file
diff --git a/QuizExperiment.Admin/Client/Pages/Tests/Client/WaitingForQuestion.razor b/QuizExperiment.Admin/Client/Pages/Tests/Client/WaitingForQuestion.razor
new file mode 100644
index 0000000..b693b31
--- /dev/null
+++ b/QuizExperiment.Admin/Client/Pages/Tests/Client/WaitingForQuestion.razor
@@ -0,0 +1,7 @@
+@page "/test/client/waitingforquestion"
+@layout QuizExperiment.Admin.Client.Shared.Client.Layout
+
+
+
+@code {
+}
\ No newline at end of file
diff --git a/QuizExperiment.Admin/Client/Pages/Tests/SingleAnswerQuestionTest.razor b/QuizExperiment.Admin/Client/Pages/Tests/SingleAnswerQuestionTest.razor
deleted file mode 100644
index b13f46b..0000000
--- a/QuizExperiment.Admin/Client/Pages/Tests/SingleAnswerQuestionTest.razor
+++ /dev/null
@@ -1,26 +0,0 @@
-@* @page "/test/singleanswerquestion"
-@using QuizExperiment.Models
-@layout AdminLayout
-
-
-
-@code {
- private Question _currentQuestion = new MultipleChoiceQuestion
- {
- Title = "This is a test Question",
- Options = new[]
- {
- "Option 1",
- "Option 2 - This option is really long and will wrap to the next line",
- "Option 3",
- "Option 4"
- },
- ImageUrl = "https://imgur.com/NkMONh3"
- };
-
- private void AnswerQuestion(int answerIndex){
- Console.WriteLine($"User answered: {answerIndex}");
- }
-} *@
\ No newline at end of file
diff --git a/QuizExperiment.Admin/Client/Shared/Client/AnswerSummary.razor b/QuizExperiment.Admin/Client/Shared/Client/AnswerSummary.razor
index 631f954..eeaf2aa 100644
--- a/QuizExperiment.Admin/Client/Shared/Client/AnswerSummary.razor
+++ b/QuizExperiment.Admin/Client/Shared/Client/AnswerSummary.razor
@@ -9,28 +9,28 @@
@if (MyAnswer == CorrectAnswer)
{
-
Correct!
+
Correct!
}
else
{
-
-
Better luck next time!
-
The correct answer was @correctAnswerText.
+
+
Better luck next time!
+
The correct answer was @correctAnswerText.
}
@if (!IsLastQuestion)
{
-
You are in @Position@(Position.GetSuffix()) place with @CurrentScore points
-
Another question is on its way!
+
You are in @Position@(Position.GetSuffix()) place with @CurrentScore points
+
Another question is on its way!
}
else
{
-
That was the last question, check the presenters screen to see how you did!
+
That was the last question, check the presenters screen to see how you did!