
A DOM VIRUS GAME · BY CHRIS COOLEY
CitySmash.
Climb it. Smash it. Eat the snacks.
You are a giant cyber ape. Seven tabletop cities, day into night. Hang on the walls, punch out the windows, bring the buildings down floor by floor. Then do it again with friends.
01 HOW TO PLAY
Grip with one arm. Smash with the other.
- 01
JUMP AT A WALL
Walk the street and jump at a building’s side: the jump grabs it. Hang on, climb up and down the edge. Your inside arm grips; your outside arm is free to smash.
- 02
PUNCH BY YOUR CLIMB
A punch hits the window next to you: the one level with you, or the one above or below by the way you just climbed. Three hits a window: a chip, a crack, a hole.
- 03
BRING IT DOWN
Enough holes and the building shakes, then pancakes floor by floor. Live boxes and neon signs bite: keep your hands off them. People at the windows are snacks.
- 04
CITY AFTER CITY
Flatten every building and the next city opens, a little later in the day and a lot angrier: more soldiers, armour on the tanks, faster helicopters.
Keys: A/D walk · W/S climb · K jumps · Space punches (hold W or S: up or down) · L grabs and eats · M mutes. Phone: the stick on the left, PUNCH, JUMP and GRAB on the right. Gamepads work too.
02 THE CITIES
Seven cities, each with a trick.
PORT LUMEN
A sleepy harbour town of pastel warehouses and a lighthouse on the quay.
A gunboat patrols the water in front of the street and shells you from it. Punch it from the kerb when it comes close.
COILWORTH
Brick depots and a clock tower over the rail yard, where the freight never stops.
A freight train crosses the street: the bells ring, then it bowls over anything in the way. Punch the engine to derail it.
BRIGHTFIELD
A sports town round its bowl: floodlights on every roof, a crowd in every window.
Floodlights on every roof are live. The crowd is huge: more snacks at every window.
VOLTMOOR
Grey blocks in the hum of the power plant, its cooling tower steaming over all of it.
Every few seconds the grid surges: every live part arcs to the wall beside it. Get off the wall when the lights flicker.
TWIN SPAN
A river town where the main street is the bridge deck, pylons up either end.
Trucks thunder across the deck both ways and knock you flat. Land on one, or punch it, to stop it.
GLOWGATE
The neon strip: arcades, diners and signs that never switch off.
Signs on every edge and every roof, all of them live. Pick your windows.
SKYREACH
Glass towers round the skyport spire: the army's last stand.
Two helicopters up at once, faster and angrier. Swat them from the rooftops.
03 THE GARAGE
Dress your ape. Earn the rest.
Fur and pattern
Twelve fur colours; plain, stripes, patches, spots or a glowing circuit.
Face
A heavy brow, a crest, tusks, horns or a shaggy mane. Your ape's name comes from its fur and its face.
Gear
A cyber arm on the smashing arm, a visor, a chest plate, tail spikes, shoulder pads, a back reactor, knuckle spikes, a jaw guard. Eight neon trims.
Unlocks and saves
Every city you flatten unlocks new parts. One profile on this device, plus a save code to carry it to another.
04 THE MONSTERS
One ape. Three rivals.
THE APE
A giant cyber ape: fur, pattern, face, a cyber arm and more gear, a neon trim of your pick.
SHARDCLAW
A low shell of glowing crystals, six legs and two big claws. It steals your snacks.
GLOOPMAW
A dome of goo on tentacles, one eye, a wide mouth. It punches you off walls.
VOLTWING
Big crackling wings, feathered antennae, a bad attitude. Out from the fourth city on.
The army fights back: soldiers on the street, snipers in the windows, helicopters, tanks, a gunboat. Out of health, a monster shrinks to a tiny figure and runs off the table.
05 PLAY TOGETHER
Up to four, one screen or online.
On one screen: player one on WASD, player two on the arrows, three and four on gamepads. Online: the host opens a room and sends the link; up to three friends drop in on their own phones or computers. The host is the ape, the others take the rivals. A shared score, and one score each. You can still punch each other off the walls.
Online play needs an invite code.
Same run on every screen
Only the buttons travel. Every screen runs the same city frame for frame, and your own monster answers at once: if a friend's input arrives late, the game quietly rewinds a few frames and runs them again.
06 BUILT ON FIZLET
No libraries. 72.7 KB.
CitySmash is built on Fizlet, the micro animation and game engine for the DOM, and nothing else: no framework, no 3D library, no images in the game. The cities, the giants and the army are drawn by Fizlet's bricks on one canvas.
The whole game, its Fizlet bricks and its Board UI styles: 74,399 bytes gzip (measured at build, Fizlet 0.25.0).
@fzlt/core/kernel@fzlt/core/diorama@fzlt/core/fx@fzlt/core/input@fzlt/core/pad@fzlt/core/sound@fzlt/core/touch@fzlt/core/presence@fzlt/core/ui
BY CHRIS COOLEY
It started as a tiny daily.
CitySmash grew out of a piece in Fizlet's Daily: one ape, one city block. It kept the climb and the punch, and got seven cities, a garage and friends.
coded.design · Source on GitHub (MIT)
▶ Play CitySmash