From 13KB to Cyberpunk: How I Reimagined a Game Jam Legend 🎮⚡️
I wanted to do something different. Instead of building a game from scratch, I decided to take on the ultimate challenge: Modding the 2016 js13k overall winner, "Evil Glitch" by Giovanny Beltran (@agar3s).
Diving directly into the minified, 13-kilobyte b.js file, I set out to completely transform the game into Glitch Reaper.(it's about 18 mb now hehe).
Here is everything that was rebuilt and redesigned: 🎨 Complete Visual Overhaul: Replaced the original palette with a high-contrast Synthwave/Neon aesthetic (cyan, magenta, and deep purple). The background, UI, and WebGL shaders were all color-graded. 🔺 Procedural Geometry Changes: Rewrote the coordinate arrays to change the shape of the player's ship and the enemies. 🎵 Custom Audio Engine & Relaxing Soundtrack: Muted the internal synthesizer and engineered a custom JavaScript playlist system. The game now features a 5-track playlist of calming, relaxing music to contrast the intense gameplay. Track 1 is none other than "Weightless" by Marconi Union (scientifically known as the most relaxing track in the world!) to keep players zen while dodging enemies. 📱 Social & Community Integration: Removed the old social links and added a dynamic X (Twitter) share button that automatically grabs the current URL and the player's score. I also added a custom portal link to Prompted. 📝 Rebranding: Scrubbed the entire game of the word "Evil," updating the UI, splash screen, and hidden modes to fit the new "Glitch Reaper" theme. It was an incredible lesson in reading minified code, understanding WebGL pipelines, and pushing the limits of a 13KB file size without breaking the core gameplay.
I'd love to hear your feedback! What’s your highest score so far?
Tech stack
- Claude Code (Fable 5.1)
- Vercel
Links
Prompt
Act as an expert JavaScript game developer. I have the minified source code (b.js) of the 2016 js13k winner 'Evil Glitch'. I want to completely rebrand and modify this game without breaking the 13KB size limit. Please provide the exact code snippets and find-and-replace instructions to achieve the following:
Rebranding: Change the game title to 'Glitch Reaper' and change all UI text from 'evil mode' to 'reaper mode'.
Visuals: Provide a new semicolon-separated color palette array to replace var hb=... using a high-contrast Cyberpunk/Synthwave theme (Cyan, Neon Pink, Deep Purple).
Geometry: Provide new X/Y coordinate arrays for ya (player) and Ma (enemies) to make the player a stealth triangle and the enemies diamonds.
Audio Engine: I want to mute the internal synthesizer music and replace it with an HTML5 <audio> playlist. Write a JavaScript function that cycles through an array of 5 local MP3 files. Include logic so the music only starts on the first mouse click (to bypass browser autoplay restrictions), doesn't restart when the player shoots, and set the volume to 0.25.
Socials & Links: Remove the Facebook share button. Rewrite the Twitter share function to dynamically grab…
13 likes · 4 comments · 12 views
Comments (2)
I'll try to make something from scratch for October challenge
Very cool my friend. Thank you for sharing, I’d love to see what you create!
thank you jack
nice try mate GG