Skip to content

About

Can you survive the zerg ? A free web-based rogulike game.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Zerg Control

Zerg Control

A 3-lane roguelike tower-defence game, designed for mobile (iPhone / iPad) and playable offline. Place your squad, merge your shooters, destroy supply crates and survive 100 nights of increasingly strange insect hordes (leapers, brood mothers, cloners, titans…).

Home Battle Arsenal Rules Options

Play

  • Online: https://<your-account>.github.io/<repository-name>/ (see docs/GITHUB_SETUP.md).
  • On iPhone / iPad: open the address in Safari → Share button → Add to Home Screen. The game installs, works without a connection and offers updates by itself.
  • On Android / Chrome: ⋮ menu → Install app.
  • Locally: python3 -m http.server 8080 (or npm run serve), then open http://localhost:8080.
  • Single file: python3 tools/make_standalone.py produces zerg-control-standalone.html (images embedded), handy to send around or to open without a server.

How it works

  • Swipe to place the squad in a lane: the shooters fire on their own.
  • 5 identical shooters merge into one shooter of the next level.
  • Crates give shooters, bonuses or weapons (mortar, machine gun, spear, acid). Walls block your shots, but also shield the horde. Red chests have a lot of HP: sometimes it is better to ignore them.
  • Each weapon is effective against certain monsters (WEAK / RESISTS message).
  • Between nights: reward cards, a permanent arsenal (points) and one-battle bonuses.
  • Local save + export / import (iOS share sheet, code copy) in Options.

The full rules are also available in the game (Home → Rules).

Repository contents

index.html            the whole game: CSS, interface, fr/en languages, permanent tree, engine, Pixi rendering
assets/               WebP images (sprites, icons, backgrounds, effects, UI)
icons/                PWA icons, favicon, share image
vendor/               PixiJS 7.3.1 (offline fallback)
manifest.webmanifest  PWA manifest
sw.js, version.json   service worker and version (generated by tools/make_pwa.py)
tools/                tools: balancing (Node), quick test, PWA / standalone generation
docs/                 documentation (GitHub, PWA, architecture, assets, sounds)
.github/              workflows (Pages deployment, CI, releases) and issue templates

Develop

npm run serve        # local server (python)
npm test             # quick test: languages, images, PWA, simulation
npm run pwa          # regenerates sw.js + version.json (do this before publishing)
npm run sync         # recomputes the list of images loaded at startup (after adding a .webp)
npm run balance      # balancing bot campaign (slow)

See CONTRIBUTING.md and docs/ARCHITECTURE.md.

License

  • Code: MIT.
  • Graphics (assets/, icons/): created with generative AI tools and then reworked; all rights reserved by the author unless otherwise stated — see docs/ASSETS.md.
  • PixiJS (vendor/pixi.min.js): MIT license, © Pixi.js contributors.

About

Can you survive the zerg ? A free web-based rogulike game.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages