Skip to content

About

๐Ÿ๐ŸŽฎ **Python Buddy** is a gamified Python learning web application featuring interactive quests, coding challenges, an AI-powered coding tutor, and a reward system to make learning Python more engaging and beginner-friendly.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

ย 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Python Buddy ๐Ÿ๐ŸŽฎ

A gamified web application for learning Python through interactive quests, code duels, live challenges, and an AI tutor.

Features

  • ๐Ÿ—บ๏ธ Interactive Quest Map: Progress through levels covering fundamentals, numbers, strings, logic, loops, lists, functions, and boss fights.
  • โค๏ธ Hearts & Streak System: Answer conceptual quizzes with instant feedback and 3-heart life mechanic.
  • โš”๏ธ Code Duels: Write real Python code in the browser with server-side validation against expected outputs.
  • ๐Ÿ’ฌ AI Coding Buddy: Chat with an AI tutor in multiple modes (Learn, Practice, Quiz, Debug).
  • ๐Ÿ… Badges & XP: Earn XP, unlock titles from Newbie to Legend, and collect badges.

Quick Start

1. Clone the repository

git clone https://github.com/ayse-hatun/python-gaming-tutor.git
cd python-gaming-tutor

2. Create and activate a virtual environment

python -m venv .venv

# Windows:
.venv\Scripts\activate

# macOS / Linux:
source .venv/bin/activate

3. Install dependencies

pip install -r requirements.txt

4. Configure environment variables

Copy .env.example to .env and configure your API key (Gemini or OpenRouter):

cp .env.example .env

Edit .env:

GEMINI_API_KEY="your-api-key"

5. Run the application

python main.py

Open your browser at http://127.0.0.1:8000. image image image image image

image

About

๐Ÿ๐ŸŽฎ **Python Buddy** is a gamified Python learning web application featuring interactive quests, coding challenges, an AI-powered coding tutor, and a reward system to make learning Python more engaging and beginner-friendly.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages