Skip to content

A simple game created with Next.js where the user must identify the cause of errors from stack traces before the time runs out

Notifications You must be signed in to change notification settings

Tom-Gal/CatchThis

Repository files navigation

🎯 CatchThis()

CatchThis() is a simple & fast-paced web game where players must identify errors in stack traces before time runs out. Built with Next.js and React.


🚀 Gameplay

  • Each round presents a stack trace with multiple-choice options.
  • Players must select the line of code containing the error before the timer hits zero.
  • Correct answers increase your score. The game ends when all questions are answered or time runs out.

🧠 Features

  • ⏱️ Countdown timer for each question
  • ✅ Real-time answer validation and feedback
  • 📊 Local high score tracking
  • 🧪 Questions categorized by programming language
  • 🔁 Replayability with randomized questions (to a certain extent lmao)

🛠️ Tech Stack

  • Framework: Next.js + React
  • State Management: React Context API
  • Routing: Next.js Router
  • Persistence: localStorage for saving scores and session data
  • Styling: Tailwind CSS

🕹️ Getting Started

git clone https://github.com/huskeyyy/catchthis.git
cd catchthis
npm install
npm run dev

📜 License

MIT License © 2025 Huskeyyy

About

A simple game created with Next.js where the user must identify the cause of errors from stack traces before the time runs out

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published