https://github.com/alinaskultecka/quizgamewpf
A graphical Quiz Game built with C#.
https://github.com/alinaskultecka/quizgamewpf
grafical-user-interface json-api wpf
Last synced: about 2 months ago
JSON representation
A graphical Quiz Game built with C#.
- Host: GitHub
- URL: https://github.com/alinaskultecka/quizgamewpf
- Owner: AlinaSkultecka
- Created: 2025-10-31T07:36:33.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-10-31T12:42:26.000Z (8 months ago)
- Last Synced: 2025-10-31T14:39:53.658Z (8 months ago)
- Topics: grafical-user-interface, json-api, wpf
- Language: C#
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quiz Game Gothenburg
A graphical **Quiz Game** built with **C#**, **.NET**, and **WPF (XAML)**.
Players can **play**, **edit**, or **create** quizzes — each in separate views using `UserControls`.
## Features
### **Play Mode**
Play quizzes with multiple-choice questions (three options each).
There are **two types of quizzes**:
1. **Built-in “Gothenburg” Quiz**
- Comes preloaded with questions about Gothenburg.
- Cannot be edited or deleted by the user.
2. **User-Created Quizzes**
- Created and saved by the user inside the app.
- Stored as JSON files in AppData.
- Initially, this section is **empty**, and the *“Play Random User Quiz”* button is **disabled** until the user creates a quiz.
While playing, questions appear in **random order**, and after each answer you’ll see:
- ✅ Total correct answers
- 📊 Percentage of correct answers
### **Edit Mode:**
- Choose the quize and question in the menu to edit it.
- Allows modifying the quiz title and question text or any of its answers.
- Supports deleting individual questions.
- If all questions are deleted, the app asks whether to:
- ❌ Delete the quiz file, or
- 📂 Keep the empty quiz.
### **Create Mode:**
- Lets you name a new quiz and add as many questions as you want.
- Each question includes **three answer choices** and one **correct answer**.
- Quizzes are saved asynchronously in **JSON format**.
### **JSON Data:**
All quizzes and questions are saved and loaded from JSON files in your local AppData.
(C:\Users\\AppData\Local\QuizGameWPF\DefaultData\)
### **Future Improvements**
- **Translate** the app and Gothenburg quiz into **Swedish**, and make the app available in **two languages**.
- **Add question category filters** to play Gothenburg quizzes by topic.
- **Add user-related features**, such as saving each user's score and displaying a **top players leaderboard**.
- **Enable import and export** of quizzes to share them with other users.
- **Improve the WPF UI** with animations and adaptive layouts.
- **Build a cross-platform version** using **.NET MAUI** (the app currently runs only on Windows).
- Implemet **Add question to a Quiz option** in Edit quiz mode.
### **Sources**
The questions about Gothenburg are taken from the book by Höglund, B. (2023). GöteborgQuiz 2 : Har du koll på Göteborg? Ordalaget Bokförlag.
### Wireframe of the program
The overall layout and navigation flow of the **Quiz Game** application.
It shows how users move between the main sections of the program and what each view contains.