DEV Community

Arsh Tariq
Arsh Tariq

Posted on

DJ Electrohead: Your AI-powered DJ simulator

This is a submission for the Amazon Q Developer "Quack The Code" Challenge: That's Entertainment!

What I Built

DJ Electrohead is an AI- powered interactive DJ simulation game that combines music mixing with crowd interaction. The game features three distinct play modes:

Landing Page

Landing Page

Crowdplay Mode: Connect with Spotify to mix real tracks. An AI-powered crowd reacts to your song choices, analyzing how well you maintain energy and flow between tracks.

Crowdplay Mode

Strudel Mode: Create live beats with code using the strudel repl's musical loops and patterns. The crowd responds to your rhythm and creativity in real-time.

Strudel Mode

Mixing Mode: Create live mixes of two songs alongside the multitude of tools you would find on a real DJ's turntable!

Mixing Mode

Key features:

  • Dynamic crowd reactions with a real-time vibe meter powered by deepseek-VL v3
  • Score system with combo multipliers for maintaining crowd energy
  • Animated DJ character sprites that responds to the crowd's mood depending on a dynamic crowd vibe meter
  • High score tracking across both game modes
  • Seamless Spotify integration for authentic DJ experience and the ability to play any song you want!
  • Strudel allows users to flex their coding ability whilst creating banger music
  • Users can actually DJ using turntables along with snares, kicks, pitch changes, reverbs and flangers!

Demo

Demo Video

Code Repository

Repository Link

How I Used Amazon Q Developer

  1. I first thought about what I wanted to build and then asked chatgpt to create a text document titled: "Tasks.txt" (available in the github repository)

  2. Then I instructed Amazon Q developer to use the file tasks.txt as a starting point to get a feel for what it has to build.

  3. Since the task sheet is split into different phases, I made Q developer stop everytime it completed a major task in each phase and tweaked the code manually or using q dev itself if needed.

  4. After reviewing every phase's features that q developer implemented, I pushed it to my repository and moved on to the next phase.

Top comments (0)