Skip to content

About

Coding Master AI — a C# (WinForms) desktop app that tests and improves your programming skills with AI-generated questions (Google Gemini) across C++, C#, Java, and Python, featuring user accounts, a live rankings leaderboard, an admin panel, and a MySQL backend.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🧑‍💻 Coding Master AI

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.

C# WinForms MySQL Gemini Stars


📋 Overview

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.

✨ Features

  • 🤖 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

🧰 Tech Stack

  • Language / UI: C#, Windows Forms (.NET Framework)
  • AI: Google Gemini API
  • Database: MySQL (MySql.Data)
  • Libraries: Newtonsoft.Json
  • IDE: Visual Studio

🚀 Getting Started

Prerequisites

  • Visual Studio (with .NET desktop development workload)
  • MySQL Server
  • A Google Gemini API key (get one here)

Setup

  1. Clone the repo
    git clone https://github.com/AbdulHannan031/CODING-MASTER-AI.git
  2. Open coding1.sln in Visual Studio and restore NuGet packages.
  3. Create the database — import the schema:
    SOURCE Database/project.sql;
  4. Configure secrets in App.config (never hard-code them):
    • your MySQL connection string
    • your Google Gemini API key
  5. Build & Run (F5).

🔐 Keep your API key and DB credentials in App.config / environment variables and out of source control.

📂 Project Structure

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

🗺️ Roadmap

  • Add more languages & difficulty levels
  • Timed challenges and streaks
  • Export performance reports
  • Move secrets fully to environment configuration

👤 Author

Abdul Hannan — @AbdulHannan031

If you like this project, please give it a ⭐ — it helps others find it!

About

Coding Master AI — a C# (WinForms) desktop app that tests and improves your programming skills with AI-generated questions (Google Gemini) across C++, C#, Java, and Python, featuring user accounts, a live rankings leaderboard, an admin panel, and a MySQL backend.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages