Skip to content

Asad-In-Data/LogicForge-CppEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

20250513_2254_C++ Cyberpunk Code Arena_simple_compose_01jv5ceh5vfrgsthxe2enwrhs4

QuizCraft 🧠 — Your Intelligent C++ Learning Companion

QuizCraft is the evolution of LevelUP — a simple quiz game turned into a smart, interactive, and gamified learning engine for C++ programming. It offers three learning levels, instant feedback, and rule-based code evaluation, making it perfect for learners of all stages.

👇 This builds on the original LevelUp project.
Missed it? See the first version here → [LevelUP]


🚀 Key Features

🎮 Multi-Level Gamified Learning

  • Beginner: Introduction to basic concepts.
  • Intermediate: Logic and structure challenges.
  • Advanced: Real code evaluation with strict rule checking.

Every incorrect answer gives you:

  • 🔁 Option to Retry (new randomized questions)
  • 📘 Option to follow a Learning Path

🧠 Smart Code Checker (Advanced Level)

Instead of matching code files directly, EduComp uses a rule-based evaluator. Current example rules include:

  • ✅ Every code line must end with a semicolon.
  • ✅ Variables must start with an alphabet.
  • ✅ Essential libraries like <iostream> must be included.

These rules are fully customizable!


🏗️ Built with OOP for Scalability

QuizCraft’s architecture is fully modular and object-oriented:

  • Encapsulated logic per module
  • Cleaner structure
  • Easier to maintain and extend

📦 Easily Extendable Question System

  • Input questions via text files
  • Separate by difficulty level
  • Easy to localize or update

📁 Project Structure

kk

🚀 Getting Started

Prerequisites

  • C++ Compiler (e.g., GCC, MinGW, or MSVC)
  • IDE (Visual Studio / Code::Blocks / Dev-C++) or terminal

Run Locally

  • Clone the repo

  • Compile the code (Windows)

  • Run the game

    🧪 Usage

  • Register your account

  • Select your level

  • Answer quiz questions interactively

  • Upload your written .cpp program ,it will check it's correctness based on specfic rules

  • Retry until you master it 💪

🔍 QuizCraft: Key Improvements Over LevelUP++

Feature Area LevelUP++ (Old) QuizCraft (New)
Architecture Procedural Fully uses OOP concepts (Classes, Abstraction, Encapsulation)
Level Progression Static quiz with retry Dynamic question reshuffling on each retry
Question Diversity Fixed questions Different question sets per session
Advanced Code Check File-to-file comparison Rule-based intelligent analysis system
Rules Implemented None ✅ Semicolon at line end
✅ Variable names start with letter
✅ Required libraries included
Flexibility One structure fits all Scalable and modular for any number/type of rules
User Experience Basic More intuitive with instant feedback and decision paths

🌱 Coming Soon

  • GUI Interface
  • Adaptive difficulty
  • Web-based version (possibly using WebAssembly)
  • User accounts & score tracking

🤝 Contribute

Want to contribute?

  • Suggest question sets
  • Add new rules to the RuleChecker
  • Improve design or add GUI elements

Fork it, clone it, and let’s grow EduComp together.

📜 License

Distributed under the Apache License 2.0 License. See LICENSE for more information.

🌐 Connect

💬 LinkedIn

📩 Email: asadalich56@gmail.com

        “Code is more than logic — it’s growth, iteration, and impact.”

About

A smart, gamified C++ learning engine with level-wise progression, instant feedback, and code evaluation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages