Learn how modern semiconductor devices are assembled by stacking layers in a retro arcade puzzle.
Chip Factory is an educational puzzler that translates the multi-layer semiconductor fabrication process into intuitive Tetris-like gameplay. Every layer you place mirrors a real manufacturing step—perfect for students, hobbyists, or anyone curious about how chips power everything from smartphones to avionics.
👉 Play now: https://meanharsh.github.io/chip-factory-game/src/
For the best experience, use the latest version of Chrome, Edge, or Safari.
| Device | Layers (bottom → top) | Real-World Focus |
|---|---|---|
| Logic Switch (Transistor) | Silicon wafer • Shallow trench isolation • Well implants • Gate oxide • Gate stack • Spacers & silicide • Metal contacts | Front-end-of-line CMOS fabrication |
| Memory Stack (DRAM) | Silicon substrate • Isolation grid • Deep capacitor trenches • Storage dielectric • Access transistor • Bit-line metal • Bond pads | 1T1C DRAM cell packaging |
| Power Manager (PMIC) | Power substrate • Epitaxial drift region • Copper spreaders • Driver FET array • Interconnect mesh • Solder bumps | High-current power management IC |
Each successful build ties your work to a real application—think iPhone RAM buffers, jet engine controllers, or electric vehicle power stages.
| Input | Action |
|---|---|
| ← / → | Move piece horizontally |
| ↑ / Z | Rotate 90° |
| ↓ | Soft drop |
| Space | Hard drop |
| P | Pause/unpause |
git clone https://github.com/meanharsh/chip-factory-game.git
cd chip-factory-game
# Option 1: Python
python -m http.server 8000
# Option 2: Node (http-server)
npx http-server
Then open http://localhost:8000/src/ in your browser.
| Task | Command |
| —- | ——- |
| Launch local server | python -m http.server 8000 |
| Run Node static server | npx http-server |
| Format HTML/CSS/JS (manual) | Use your editor’s formatter of choice |
gh-pages branch using the GitHub Pages workflow located at .github/workflows/deploy.yml.gh-pages, the workflow builds the static site and publishes it to the github-pages environment.gh-pages when you are ready to ship.Have an idea? Open an issue and let’s discuss.
Contributions are welcome! To get started:
git checkout -b feature/amazing-idea).Please review the Contributing Guidelines before opening a PR.
This project is available under the MIT License with additional attribution requirements. See LICENSE for the full text.
If you build something awesome with Chip Factory, share it—learning devices deserve a spotlight! ✨