Inspiration Debugging is often tedious and frustrating for beginners and even experienced programmers. We wanted to turn this struggle into a fun and engaging learning experience by combining chaos with humor. The idea came from observing how programmers often encounter random, unpredictable errors that can either teach them or drive them crazy.

What it does**

Debugger's Nightmare IDE intentionally injects random errors into code as you write it, creating a "chaotic" environment. Users can attempt to fix the code or let the system auto-correct it by pressing Give Up. The IDE provides sarcastic feedback and highlights the correct solution, making debugging entertaining while educational.

How we built it

  • Frontend: HTML, CSS, and JavaScript with ACE Editor for a smooth coding interface.
  • Backend: Python Flask to manage Python code execution safely.
  • Features:
    • Language selection (Python, JavaScript, C++)
    • Timer to increase challenge
    • Corruption of code using randomized errors
    • Auto-fix mechanism on giving up
    • Console logs with sarcastic feedback

** Challenges we ran into **

  • Executing Python safely in a web environment without exposing the server to arbitrary code execution risks.
  • Synchronizing frontend timers and auto-correction with backend execution.
  • Maintaining a responsive, clean UI while simulating "chaos" in code.

** Accomplishments that we're proud of **

  • Created a fully interactive IDE that merges fun, sarcasm, and education.
  • Implemented safe code execution for Python on the backend.
  • Developed a timer-based challenge system that enhances engagement.

** What we learned**

  • Learned how to integrate ACE Editor with a backend Python IDE.
  • Gained experience in handling code execution safely in Flask.
  • Understood the importance of UI/UX design in educational tools.

** What's next for Debugger's Nightmare IDE**

  • Add support for more languages and frameworks.
  • Include advanced debugging hints for educational purposes.
  • Implement user accounts to track progress and completed challenges.
  • Introduce multiplayer or challenge modes for peer learning.

Built With

Share this project:

Updates