How willxxx7/goodprogramdesign works
This is a small console multiplication quiz and teaching example. A player enters a name, answers ten generated questions, receives feedback, and sees a final score. The entry point wires a question source and report writer into the quiz runner; the runner owns quiz flow and answer validation. The source excerpt shows question construction and the console writer’s output responsibilities, but omits much of the runner’s loop, so some workflow links are documented rather than verified from calls.
Main entry points: MathsQuiz.cs Quiz Runner
Components 7
Application Startup
- Program Entry
MathsQuiz.cs
Quiz Domain
- Quiz Runner
MathsQuiz.cs - Random Question Source
MathsQuiz.cs - Question and Results
MathsQuiz.cs
Console Interaction
- Console Report Writer
MathsQuiz.cs
Other components
- Player
- Console
Connections 9
- Player → Console: enters answers
ReadME.md - Program Entry → Quiz Runner: starts
MathsQuiz.cs - Program Entry → Random Question Source: constructs
MathsQuiz.cs - Program Entry → Console Report Writer: constructs
MathsQuiz.cs - Quiz Runner → Random Question Source: requests questions
MathsQuiz.cs - Random Question Source → Question and Results: creates questions
MathsQuiz.cs - Quiz Runner → Console Report Writer: reports progress
MathsQuiz.cs - Console Report Writer → Console: writes output
MathsQuiz.cs - Quiz Runner → Console: reads name