A C# (WinForms) desktop app that tests and sharpens your programming skills with AI-generated questions (Google Gemini) across C++, C#, Java, and Python — complete with user accounts, a live rankings leaderboard, an admin panel, and a MySQL backend.
Coding Master AI is a desktop quiz platform that helps developers practice and assess their coding knowledge. It uses AI (Google Gemini) to generate programming questions on demand, tracks each user's performance, and ranks players on a leaderboard — turning skill practice into a bit of friendly competition.
- 🤖 AI-generated questions — fresh programming questions powered by Google Gemini
- 🌐 Multiple languages — C++, C#, Java, and Python tracks
- 👤 User accounts — sign up / log in with profiles
- 🏆 Rankings & leaderboard — live scores and competitive ranking
- 🛠️ Admin panel — manage questions, users, and content
- 💾 Persistent storage — all data saved in a MySQL database
- 🎨 Polished WinForms UI — custom icons, loading screens, and a clean desktop experience
- Language / UI: C#, Windows Forms (.NET Framework)
- AI: Google Gemini API
- Database: MySQL (
MySql.Data) - Libraries: Newtonsoft.Json
- IDE: Visual Studio
- Visual Studio (with .NET desktop development workload)
- MySQL Server
- A Google Gemini API key (get one here)
- Clone the repo
git clone https://github.com/AbdulHannan031/CODING-MASTER-AI.git
- Open
coding1.slnin Visual Studio and restore NuGet packages. - Create the database — import the schema:
SOURCE Database/project.sql;
- Configure secrets in
App.config(never hard-code them):- your MySQL connection string
- your Google Gemini API key
- Build & Run (F5).
🔐 Keep your API key and DB credentials in
App.config/ environment variables and out of source control.
CODING-MASTER-AI/
├── coding1.sln
├── Database/project.sql # MySQL schema
└── coding1/
├── Program.cs # Entry point + AI (Gemini) integration
├── Form1.cs # Main quiz UI
├── Profile.cs # User profile / account
├── Ranks.cs # Leaderboard & rankings
├── admin.cs # Admin panel
├── Question.cs # Question model/logic
└── Resources/ # Icons & images
- Add more languages & difficulty levels
- Timed challenges and streaks
- Export performance reports
- Move secrets fully to environment configuration
Abdul Hannan — @AbdulHannan031
If you like this project, please give it a ⭐ — it helps others find it!