-
-
Title screen: play in any browser or on a phone, no install required.
-
Planets use radial gravity: insects walk and fight all the way around.
-
A volcanic anthill biome, with a shot arcing toward the other team.
-
Terrain is destructible: blasts carve craters and holes through the planet.
-
Post-match awards, including Sharpshooter and Demolisher, plus a rematch.
-
Online waiting room with a private 6-character code and biome settings.
Inspiration
Event booths need something people can actually finish while they wait in line: no download, no account, obvious controls, and a match that ends with a score worth talking about. I wanted a game that feels like a tiny artillery brawl — insects on planets and handmade arenas, destructible terrain, and a CPU that plans real shots — but that still boots in a browser or on a phone, resets cleanly, and keeps the line moving.
Cloud9 and JetBrains are the reason it exists in this form. The brief is a booth mini-game, so every system is judged by session length, first-time readability, and whether a second visitor can start immediately after the first.
What it does
Killsect is a turn-based insect artillery game that runs in any modern browser, including phones, with no install. It also installs as a fullscreen PWA.
A complete booth loop. From the main menu a visitor starts a match, plays, and lands on a score screen with a summary, team stats, awards (including Sharpshooter and Demolisher), per-insect stats, and an HP timeline of the fight. From there they can rematch, start another match, or return to the menu — so the next person in line gets a clean start.
Fast, configurable sessions. The default scheme uses 45-second turns, two insects per team, and two wins. Scheme presets such as Relámpago (Lightning) drop to 20-second turns, one insect, 50 HP, and a single win when the booth needs even shorter rounds. Match modes are classic 1v1, deathmatch, and free-for-all (3–4 teams).
Simple, flexible controls. Aim, hold to charge, and fire. Keyboard, mouse, gamepad, and touch are supported. Touch controls can follow auto-detect, stay on, or stay off. Bindings are remappable. A firing-range tutorial (offered in the menu as a 3-minute intro) walks new players through seven short steps with their current controls, then optional free practice and a duel.
Arenas and weather. There are 32 hand-crafted maps and 16 biome themes (filters in match setup), including fungal caves, frozen hives, volcanic anthills, sunken ponds, and storm islands. Planets use radial gravity (walk, jump, and backflip around the surface). Flat maps stay simple for first-timers; living worlds raise water or acid every few turns. Terrain is destructible. Biome weather can bias wind, drag, and projectile flight.
CPU and rivalry. Plaga, the CPU opponent, plans shots on three difficulty levels. The Nemesis, El Carnicero, remembers how you beat him, adapts, taunts, and shows a counter on his card.
Progression that brings people back. Daily challenges, nectar and ranks, and cosmetic unlocks. Four cosmetic factions (Garden Mafia, Ant Empire, Cockroach Syndicate, Swamp Mercenaries) give each team colors and an emblem.
Online and local. Local/hot-seat play needs no server. Online rooms use 6-character private codes so two friends can play from anywhere. A deterministic lockstep keeps both screens in sync and can be verified with replay. A live leaderboard (wins, matches, kills, damage) is served from the same backend.
Booth-friendly presentation. Spanish and English (default language is Spanish). Accessibility includes colour-blind palettes (deuteranopia, protanopia, tritanopia), text size 100 / 125 / 150 percent, remappable controls, reduced motion, high-contrast HUD, and flash reduction. Graphics quality can drop automatically to stay smooth. The goo effect defaults to Familiar.
Play it at https://killsect.vercel.app
How we built it
I built Killsect solo in WebStorm, with JetBrains Air in the IDE and Junie implementing a long sequence of feature prompts (determinism and the online lockstep, arsenal and status effects, biome and weather systems, accessibility and PWA, match flow, and polish).
The stack is TypeScript, Phaser 3, and Vite, deployed on Vercel. Local play is self-contained. Online rooms, scores, and the leaderboard use Vercel Functions and Upstash Redis (marketplace env vars; local hot-seat does not need them). The client is a PWA (fullscreen manifest plus a service worker).
Simulation is lockstep and deterministic (turn actions and a state hash) so two browsers stay in sync without a physics host. Scenes and heavy HD-2D biome assets are code-split and loaded lazily so the first paint stays small and the game stays responsive during a long booth day.
A fuller account of the booth design is in methodology.md. What each JetBrains tool did is in tooling.md.
Challenges we ran into
Determinism. Online play only works if both clients simulate the same shot. That meant a lockstep protocol, explicit turn actions, and a state hash — plus replay so a mismatch can be inspected instead of shrugged off.
Modes and edge cases. Classic 1v1, deathmatch with respawns, and 3–4 team free-for-all do not fail the same way. Forfeits, waiting-to-respawn actors, and “who is still in the room” had to be fixed so a booth or online match does not stall.
One control scheme, many devices. The same game has to feel obvious with a keyboard, a gamepad, or thumbs on a phone in landscape. Auto touch controls were not enough; an on/off/auto setting, remapping, and a tutorial that uses the player’s current bindings were.
Sustained performance. Sixteen biome looks, particles, and destructible terrain can hitch if everything loads up front. Code-splitting, lazy scenes, an auto quality mode, and reduced-motion options keep the booth machine responsive over a long day.
Scope versus the clock. The brief wants a complete loop, not a prototype. Shipping the score screen, awards, rematch, and a clean return to the menu mattered as much as adding another weapon.
Accomplishments that we're proud of
- A full start → play → score → rematch/menu loop that a visitor can finish in a short stand session.
- The game runs from a URL, on a phone, with no install, and can be installed as a PWA.
- A deterministic online lockstep with private room codes, not just a local demo.
- Sixteen biome themes and thirty-two maps, with filters, flat first-time maps, and living worlds that rise over time.
- Accessibility is in the options from the start, not as an afterthought: colour-blind palettes, larger text, remapping, reduced motion.
- The firing range teaches the real controls in seven short steps, then gets out of the way.
What we learned
Booth games are won or lost in the first ten seconds and in the last screen. If starting is slow, or the match never clearly ends, the line stops. Deterministic lockstep is unforgiving — one hidden source of randomness breaks trust between two phones. Accessibility settings and a first-time tutorial are part of the product at an event, not extras. Working in WebStorm with Junie on tightly scoped prompts was faster than improvising huge unscoped changes, as long as each step was reviewed against the running build.
What's next
- Playtest the default scheme and the Lightning preset on a real booth table: how long a match actually takes, and whether the next visitor can start without a host.
- A display-friendly leaderboard view for a second monitor; the current board is already in the game and talks to
/api/leaderboard. - A fuller README in the public repo (the code is there; the current README is mostly online and hazard setup).
- More polish on first-run language and control hints for a mixed Spanish/English crowd.
None of this is required to judge the current build: the demo at https://killsect.vercel.app is the submission.
Built With
- jetbrains-air
- junie
- phaser.js
- pwa
- typescript
- upstash-redis
- vercel
- vite
- webstorm
