Skip to content

simongonzalezdc/CyberWitches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

125 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hex Compiler (CyberWitches)

A browser-based idle/incremental game where you compile fading magic into hexadecimal code — for fans of clicker and incremental games who like a story.

License: MIT

What it is

Hex Compiler is an idle game, published in the CyberWitches repository, that runs entirely in the browser. You play one of the last Hex Compilers, translating magical hexes into hexadecimal code and building digital preservation chambers to fight the fading of magic. It is built in vanilla JavaScript (ES2023 modules) with no runtime framework, bundled with esbuild, and ships with a service worker and web app manifest for offline play. As you preserve more magic, the deliberately glitched UI progressively stabilizes — the interface itself is part of the story.

Install / Quick start

npm install
npm start        # dev server on http://localhost:3000 (opens a browser)

Production build:

npm run build:prod   # outputs static files to dist/

Serve the contents of dist/ from any static web host (configure it to serve index.html for all routes). See DEPLOYMENT_README.md for full deployment steps.

Usage

Once the dev server is running, the game plays in the browser — cast spells manually or automate them, craft preservation chambers, buy upgrades, and run experiments to discover new techniques. Useful scripts:

npm test               # run the Jest test suite
npm run lint           # ESLint over js/**
npm run optimize:images # re-compress background images with sharp

Core systems: manual & automatic spell casting, preservation-chamber automation, an upgrade/inscription tree, experimentation, an ascension system with elemental specialization, achievements, daily rituals, and a meditation mini-game.

Why / how it works

The hook is that the UI is diegetic. Hex Compiler uses a five-tier design system (Tier 0–4) that maps your progress onto the interface: Tier 0 is monochrome with maximum glitch (screen tearing, chromatic aberration, scanlines, text corruption, jitter), and each tier you reach adds color, sound effects (Tier 2+), full graphics, and finally procedural ambient music (Tier 4+) as the glitches resolve to nothing. The "fading magic" theme is literally rendered as visual instability that you fix by playing. Audio is driven by Tone.js (loaded via CDN), styling is plain CSS with custom properties, and offline play comes from a service worker + web app manifest.

Best-fit searches

browser idle game · incremental clicker game open source · vanilla JavaScript idle game · PWA incremental game · esbuild game project · hexadecimal coding game · idle game with glitch UI · Tone.js procedural game music

Links

About

Hex Compiler (CyberWitches) - browser idle/incremental game where you compile fading magic into hexadecimal code. Vanilla JS, PWA, esbuild, Tone.js audio.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors