← Back to projects

San Andreas Radio

Dec 2024

Web-app that recreates the radio from Grand Theft Auto: San Andreas.

  • Built a custom playback engine to emulate the in-game radio, driven programmatically through MPD (Music Player Daemon)
  • Designed and implemented a custom scheduling algorithm to avoid repeating audio tracks.
  • Invented the Randomized Dual-Head Queue, a FIFO-based selection algorithm that keeps playback order varied without ever repeating a track back-to-back
  • Enforced category- and pacing-aware playback rules to mimic the pacing of the real in-game stations