Inspiration

The idea for Codvit came from the need to make problem-solving more engaging and competitive. We wanted a platform where users could solve coding challenges, math riddles, and logic puzzles—while competing globally in real-time. By integrating AI-generated problems and an intelligent judging system, we aimed to create an innovative puzzle ecosystem that constantly evolves.

What it does

Codvit is an interactive, AI-powered puzzle platform offering:

AI-generated coding challenges (C++/JavaScript/Python/Java) judged in real-time AI-generated math riddles with multiple-choice answers Puzzle of the Day (POTD)—a daily challenge where users compete under a recorded time, with rankings based on solution efficiency Leaderboards & percentile rankings to see how you stack up against others Reddit integration for authentication and rewarding top solvers in comments

How we built it

Frontend: React, TypeScript, and Devvit for Reddit integration Backend: Node.js with TypeScript, Supabase PostgreSQL AI Generation & Judging: HF-Inference API using Mistral-7B-Instruct-v0.3 LLM by MistralAI for generating and evaluating coding problems & math riddles Auth & Deployment: Reddit OAuth, Vercel

Challenges we ran into

Fine-tuning AI-generated problems to ensure they are challenging yet solvable Optimizing AI-powered judging for real-time performance Implementing a fair leaderboard system that accurately tracks performance Ensuring smooth Reddit authentication and comment-based rewards

Accomplishments that we're proud of

Successfully integrating AI-generated puzzles with real-time validation Creating a competitive global leaderboard Developing a timed challenge system for Puzzle of the Day that rewards the best solver in comments Seamlessly connecting Codvit with Reddit for user authentication and engagement

What we learned

AI-powered content generation and validation can greatly enhance gamified learning experiences Leaderboard-based competition increases user engagement Real-time execution and performance tracking are key to a fair puzzle platform

What's next for Codvit

Tangram Puzzles—a new game mode with interactive, shape-based challenges Expanded AI models for more personalized problem difficulty adjustments Streak-based rewards for daily challenge participation

Built With

Share this project:

Updates