A one-thumb mining game for the phone browser. A core sits fixed at the centre of a vast world and your drill flies from it on a tether. Draw the tether round a piece of ground and the core reels the whole piece in.
Every sprite, tile set and effect is made with Pixelbolt. It speaks English, Russian and Mandarin: ?lang=ru or ?lang=zh in the link opens it in either.
-
Press anywhere and drag to fly. The drill goes the way the thumb has moved, at any angle, faster the further you drag, and faster still over a long clear run. Pushed into ground, it cuts. From the very middle of the core a fresh stroke throws it straight out along the drag. Arrow keys or WASD work on a desktop, and each panel has a key: U or Enter the shop (at the core), I STATS, L the lab's notes, M the chart once it is bought, and Escape the menu; a panel's own key shuts it again, Escape shuts whatever is open, and with a panel open Tab (Shift+Tab back) steps through its tabs and 1 to 4 choose one.
-
The tether is a lasso. It is a string from the drill to the core that runs straight and bends only where it is pulled round a corner. Once it has gone far enough round a loose piece of ground that the straight way home would close the loop, the piece is reeled in along the tether and paid out at the core.
-
Only hauls pay. Drilling through ore crushes it; cut round it and lasso it instead. The bigger the piece, the bigger the multiplier, and the further out the ground lies, the richer it is. Ground that the cut in progress would free glows, and loose ground waiting for the tether wears a crawling blue edge.
-
Reach, not length. The tether lets the drill go a set distance from the core, by any road, shown as a dotted ring. Each reach upgrade makes it about six tenths longer: 40 cells at first, 2,300 at the last. Close to the core and heading in, the tether reels the drill home.
-
Nothing is too hard to cut. Dense rock, slate and the ancient stone only take longer, cracking as they go, and a better bit cuts everything faster.
-
Home ground, then four directions. Plain ground runs about 130 cells out from the core. Beyond it, north is ice, where cuts freeze over; south is basalt with lava pockets that pour into your tunnels; west is cave-ridden mire with spore pods (a hot magenta, spotted white, and the dozen nearest the drill that have been seen glow through the dark in a halo of their own,
podHalos, so that they read from across the screen); east is sandstone ribbed with slate and charged crystals. Far out, the flanks of each direction turn richer and meaner. Hazards wake when you cut beside them; lassoed asleep, they pay. -
Each direction has a rule of its own, in all of its grounds. South: every pocket of lava lies in a rind of dull slag, and lava that wakes turns the slag it touches to steel, worth twice what the lava was: haul a pocket asleep, or wake it and take the flood for more. East: crystals stud the flanks of the slate, an arc shatters the slate beside its crystal and sets off the crystals near it, so one nick, and a moment to pull back, unzips a rib and lets go what it held; shattered slate is crushed. North: a cut that freezes over beside ore heals as ore, not ice.
-
Each direction has strains. From a couple of hundred cells out a direction's ground lies in provinces about 256 cells across, and two in three are one of its two strains, each with a shape of its own. North: firn, massive ice crossed by frozen rivers that are quick roads, where a cut stays open longer; serac, shattered by a mesh of lanes of ice, where a cut closes fast. South: scoria, full of bubbles, with less lava; forge, clinker with more lava that pours further, in a thicker rind of slag. West: tangle, great open caves with bridges between; sporefall, where pods hang in bunches and one nick sets off the whole bunch. East: redrock, its slate in long level beds studded with crystals; loess, pale silt that cuts in half the time and holds little ore. A strain pays its direction's gems, and has two ores of its own in its direction's colours, as each deep flank has: firn sapphires and enhydros, serac shard silver and fluorite, scoria sulphur and thundereggs, forge cinnabar and kidney ore, tangle malachite and cave pearls, sporefall foxfire and jewel beetles, redrock turquoise and selenite, loess stone ferns and lapis lazuli; and in the flanks, rime moonstones and ice opals, magma red gold and peridots, bloom sunseeds and flower stones, gilt spinels and alexandrite. Each pays as its direction's ore of the same kind did there.
-
Further out, grounds cross. From 500 cells out some provinces are a cross of two directions: the ground of the direction it lies in, with another direction's rich ore in it and that direction's trait, thinner than at home (the south's lava in its slag, the west's pods, the east's crystals, or the north's ice closing every cut), and sometimes one shape borrowed from a strain: great caves (HOLLOW), lanes of ice (CRAZED), bubbles (FROTHY) or level beds of slate (BANDED). Thaw is ice with lava in it, quench basalt whose cuts freeze over, mouldstone sandstone with pods among its crystals. There are twelve pairs, each with a name and a look of its own, and they are never more than about a third of the provinces: the rest of the world is made by hand. A cross pays a quarter more than its direction's own ground, in both directions' gems, and its plate shows both.
-
Something is sealed in ancient stone 2,000 cells out in each direction. Bring all four home.
-
The diagonals have ground of their own. From about 470 cells out, on each diagonal where two directions' wandering borders meet, lies a seam: a ground made of both, paying its own direction's gems and, in its rich ore, the other's, and a quarter more than a direction's own ground, as a cross does. Hoarstone in the north-east is the north's frozen quartz with the east's crystals in it, and its cuts freeze; glassdune in the south-east is the east's sandstone with lava in pockets and level ribbons of glass that are quick roads; cinderfen in the south-west is the south's lava with the west's pods, frothy; frostfen in the north-west is the west's pods in a frozen bog crossed by rivers of ice. It is a band about a tenth of the distance out on either side of the diagonal, wider the further out, and from about 900 cells it turns into its deep seam, skarn, obsidian, tarpit and muskeg, which pays as the deep flanks do, out to the world's edge, but for its rich ore, which pays its corner's own gems (below). Where each seam begins a set piece shows what it does (a crystal ringed by ice, a crystal beside a pocket of lava, lava beside a pod, a pod in an open cave), and about 611 cells out on each diagonal lies the corner's herald, a rare hazard of the seam's direction (about 815 or 1,018 where a pocket is in the way). In a seam the two traits react, and only in the seam, never in a cross of the same two: an arc in hoarstone or skarn thaws the ice within three cells of its crystal (THAWED); lava an arc wakes in glassdune or obsidian sets as glass where it comes to rest (GLASS ROAD); lava woken in cinderfen or tarpit burns off the pods beside it, which knock nothing and grow no moss (BURNT OFF); and a pod gone off in frostfen or muskeg rimes the open ground round it with ice, never the drill's cells (ICE RING). Each shows a burst in its two parents' colours and sounds a quiet sting in the key that is playing.
-
The deep flanks break up. From about 1,050 cells out a flank lies in provinces as a direction's own ground does, and a share of them (three in ten at 1,350 cells, six in ten from 1,650) is its deep strain, each with one thing to do. The north's glacier is great halls of wind with their walls sheathed in ice, and the wind leans on the drill as it flies; the south's caldera is lakes of lava in thick slag, and the heat rises in columns and lifts the drill in flight. (A current only leans on a drill that is flying with the thumb down through open ground, never on one that is cutting or standing, and only as hard as the thumb steers, so a drill steered against it, however lightly, still goes the way it is steered; it is heard as a wind, which falls silent as it should after the sound has been off.) The west's mycelium is crossed by hairline faults: cut one cell of a thread and the break races along it, twenty-five cells a second and sixty at the most, opening a side of the loop for nothing; the caps on the rims of its caves light as the drill flies by, as a grotto's do. The east's druse holds geodes in its empty sectors of finds, and a geode hauled there rings every geode within two sectors of it out to its shell, called out and marked on the map where the map has room (the banner says how many rang); a geode that rang never takes the mark of anything else seen, and gives up its own first.
-
Deep finds. From 800 cells out, in any direction, twin stones lie in the rock: two carved halves three cells either side of a middle, each in a ring of dense rock. Hauled together they pay a lump (sixteen seconds of what cutting there earns) and a specimen of their direction, TWIN STONES!; one alone pays as rock. Neither lies where a keystone slab, a wreck, a relic's vault or a shrine could take a cell of it, so every one there is can be hauled whole. From 1,200 cells a fossil lies here and there, four to seven bones in a bed of dense rock, whose species its direction says (FROZEN BEAST in the north, EMBER RIBS in the south, ROOT WYRM in the west, AMMONITE in the east): hauled whole it pays four seconds a bone and two specimens and is named, and STATS counts the four (FOSSILS); a bone left behind and the rest pay as rock. On each diagonal 1,400 cells out stands a shrine, a stele in ore-veined stone in the deep seam, marked on the chart from the start: hauled whole it pays a lump of thirty seconds, five specimens of each of its two directions and 10,000 of its corner's gems (+10K over it, by the gem's icon; the gem cutter does not multiply them), and every gem of those directions is paid a tenth more for good from then on (a direction with both its corners' shrines, about a fifth), and every gem of its corner's a quarter more. STATS says how many CORNERS are held.
-
The corners' gems. Each corner has a gem of its own, numbered after the four directions' (js/world.js:
G): the north east's blue trillion, the south east's crimson brilliant, the south west's hematite cube and the north west's emerald column. Only the deep seams' rich ores pay them, ten to a cell, and nothing pays one nearer than 800 cells out (a deep seam begins between 800 and 1,000 cells out, as its noise has it); a shrine pays its corner's 10,000 at once. Eight of the dearest late levels are paid in them, two to a corner, at about two and a half times the gems they asked of their row's direction (365,000 in all, where they asked 143,000): the north east's for the bit's MK8 (75,000) and the scanner's 13 (40,000), the south east's for RAM x2.8 (30,000) and the hull's 12 (50,000), the south west's for the black box's 90% (35,000) and the lamp's 18 (60,000), the north west's for the map's range of 10 (25,000) and the winch's x5 (50,000); every other level is paid as it was, and no level was added or taken away, so an older game keeps its levels, and its four gems load where they were with none of the corners'. The shop says where they are had, NORTH EAST, PAST 900, or NE, PAST 900 where the whole will not fit (Russian on the narrowest phone). The bar has room for four gems: it shows the corners' in their parents' places (the north west's in the north's, the south east's in the south's, the south west's in the west's, the north east's in the east's) while what is saved for is paid in a corner's gems and while the drill is out where they are had, past 840 cells and within three tenths of its distance of a diagonal, and the directions' everywhere else; a screen 330 pixels wide or more shows all eight. A haul's banner too wide for the screen with all it paid goes on to a second line, from the first of the corners' gems where it can. -
The old deep. From 1,600 cells out, in whatever ground is there, builders' halls stand in the rock: sealed rooms of ancient stone, twelve to twenty-four cells a side, a wall a cell thick (two near a relic) with a door two cells wide across the middle of two opposite walls, open inside but for a store of rich ore against a wall with no door. Nine squares of 48 cells in a hundred hold one at 1,600 cells, twenty at 2,000 and thirty near a relic. And the dark deepens there, a quarter darker by 2,200 cells; only the drawing changes, and nothing out there needs the lamp.
-
Four lords at the ends. 2,210 cells out on each axis, past the relic and inside the last reach, a lord lies at the end of its direction, the living kind of its direction's fossil: the FROST WYRM in the north, the MAGMA BEHEMOTH in the south, the SPORE MOTHER in the west and the CRYSTAL KING in the east. Nothing is laid for them: each fights in whatever ground lies there, so a game saved by any build meets all four. Within 30 cells of its lair a lord rumbles under the rock, a hump of its back breaking it; within 20 it wakes, its name comes up across the screen with its title under it (LORD OF THE NORTH), clear of the drill (under it where the name takes two lines), and a ground come into meanwhile waits for it to go; and a second and a half later it fights about the drill: it sinks into the rock between its attacks and rises each time in seen open ground near the drill, on the narrowest screen. Nothing of it hurts on contact, only a told attack, told in the foes' colour, on the screen, for 0.7 seconds at the least and locked 0.3 seconds before it comes, and the pal yips at it. Each takes three blows, three diamonds under it filling as they land, and each blow raises its stage, its tells and rests shorter and at the last a trick more; and each is beaten by one verb alone, one of the game's own, and only as it rests after an attack:
- The wyrm, LOOP. It rises on a perch with rock behind it, tells a dotted line of breath to the drill and breathes along it, a plug of ice closing the line's far end. Coiled at rest, a loop of the tether wound round it during that rest, within five cells of it and the drill within fourteen, is a blow; a tether left wound from before is not. At its last stage its own ice thaws, and every second rest ends in an icefall, three rings told at the drill and where it will be.
- The behemoth, RAM. It tells a dashed lane through the drill and charges along it at 16, 18 and 20 cells a second by stage, through rock and changing no cell, and rests where the drill stood: the drill flown into it then, at three cells a second or more, is a blow. At its last stage it tells again and charges back along the same lane.
- The mother, CUT. She roots near the drill and lashes a tendril along a told line to the first rock, fourteen cells at the most. A drill it passes is held: it flies at six tenths of its speed and she drinks a pip 1.5 seconds on and every 3.5 after, until it has flown twelve cells a second for half a second, is reeled home or six seconds have passed. A tendril that stops in rock is anchored there, the cell ringed in the foes' colour, and she rests taut: that cell cut as she rests is a blow. From her second stage she lashes two.
- The king, HAUL. He blinks out and in again three to five cells from the drill, tells a ring round him and pulses, a drill inside it knocked. As he rests a shard breaks from his crown, a loose cell of rich ore two to four cells from him, on the narrowest screen where it can be and off it where not, else on the screen as near him as it can be (in a bore cut along his axis there is no cell on a screen 160 wide two to four from him), never under the tether or inside its loop: that shard hauled home by a loop of the tether is a blow, and pays as a haul of its ore. Cut, it shatters with no blow and he sheds another at his next rest; once his six are spent, or where none can be laid, the drill flown into him as he rests is a blow, as into the behemoth.
Flown 36 cells from its lair for eight seconds, a lord sinks and is whole again. The third blow beats it: it pays 240 seconds of what cutting at its lair earns, with the refinery's share (about 1.3 million before it), and twelve of its direction's specimens, banked at once, with its name large on its banner over what it paid and BEATEN! (under the drill where it is too tall to stand over it) and the show of the biggest haul; and for good every gem of its direction is paid a tenth more (with that direction's two shrines, 1.1 cubed). Its husk lies where it sank, and it never wakes again in that world; with the fourth beaten, once its banner has gone, THE DEEP IS STILL. The kill is kept only if the drill gets home: a trip lost takes the fight, the kill and all its pay back with the ground, as it takes a relic (the black box keeps its share of the grit the trip earned, and none of the lord's), and the black box's third level keeps the lords met and never one beaten; and a game saved on the way, as the game saves every twenty seconds, is saved without the kill and its pay, since a game loaded begins at the core. STATS counts LORDS once one is met, and the chart and the corner map mark a lord met with a star in the foes' colour at its lair until it is beaten. Each lord sounds in its own direction's key, the king as glass, the behemoth grinding, the mother creaking wetly, the wyrm cracking: a rumble asleep, a roar at every tell, a groan at a blow, and a sting of its own beaten. And from 1,600 cells out, within 300 of an axis, half the dens of kin hold a brood of that axis's lord (the RIMELING, the EMBERLING, the MIRELING and the LODELING), harmless, which squeaks as the drill comes near and scurries off outward along the axis, toward its lord, before it is gone into a crack: a living arrow.
-
Things to find. Geodes (a shell of slate round rich ore), caches buried in stone, and eight wrecks, each in a hollow of its own further out than the last. A cache pays a lump; each wreck gives up a part that makes every haul pay a tenth more, and wrecks within reach blink on the map. All of them only pay hauled, not drilled.
-
Each ground's caves are its own. The caves the ground was laid with are furnished as the ground is: icicles hang in the north (and glow at the tip in rime), with hoar on the walls and drifts on the floors; in the south basalt drips over fumaroles that burn a sulphur blue; in the mire threads of glow-worms hang from the roofs over ferns and bracket fungus; bloom has rose-lit flowers, gilt a lichen that glows green, the east sand ripples and fossil shells, home roots and pebbles; and each strain, pocket and cross has a set of its own (a cross mixes its donor's in among its host's). A glow lights the cave about it a little and shows through the dark. Any open cell, a tunnel the drill cut as much as a cave, may have a faint mark of its ground's back wall, and the motes in the air are its own too: flakes in the north, embers in the south, spores in the west, fireflies in bloom. What hangs from rock goes when the rock is cut. Nothing of it but a glow is ever as bright as the rock, and none of it, least of all a glow, is in a colour of what pays or hurts there.
-
Each ground has a feel of its own, which only shows and sounds and changes nothing. Water drips from the ceilings and plinks; in the north the ice groans and sings, the drill's breath hangs in the cold and frost grows in at the corners of the view the longer it stays; in the south the ground shakes now and then, lava woken on screen shakes it a little, vents in the cave floors spit sparks and the hull glows with the heat; in the west fireflies come to the drill's lamp, and keep by ore that has been seen, and gas blubs out of the floor; in the east the wind gets up and blows dust across the view, the motes in the air leaning with it, and sand pours from the roof over a fresh cut. An icicle the drill flies under shivers, falls and shatters on the floor, and a quake shakes a few loose; they hang again on a new trip. Each strain and each pocket has its own (steam out of scoria, spores falling in sporefall, honey dripping in a hive, shooting stars over a drift, ash on the flats, the grotto's drips each a note), every drop and the ice's singing are in the key of the ground's music, and over every ground lies its own faint haze or edge of colour, never so much that it stands between the eye and the rock. A cross has its host's feel and a touch of its donor's. A cut in the north about to close over creaks once, if it is within hearing of the drill, while the drill or the tether holds it open, and a crystal woken near the drill crackles. Home, within forty cells of the core, is quiet.
-
The ground is alive. Small creatures live in the caves of every ground, and two rules are all there is to learn of them: eyes that shine in the dark are trouble, and anything alive the tether goes round is caught. Most are only to be looked at, and each tells something of the ground about it: in the home ground pebble beetles trundle along the floors and tuck into a ball when the drill comes near; in the south ember salamanders bask on the floors beside lava that sleeps behind the wall, and slip into lava woken near them and swim; in the west mire frogs croak, and fall quiet where pods hang; in the east sand skinks sun themselves, and bolt a beat before a crystal arcs; in an amber hive nurse bees bumble between the chambers and cluster where a nugget hangs, and in a pumice drift star jellies gather by the boulders not yet hauled. Five are friends with a job each. The burrowpup of the home ground, fed three crushed ores beside it, is the pal: it follows the drill, rides on its tail when it flies fast, comes up out of the rock beside it when left behind, yips and looks at a foe the moment its warning begins (and as the drill comes near a foe's den), and pulls a leech off the hull; it sleeps on the core while the shop is open, and is kept with the game (and forgotten with a trip lost). Lumen moths in the north fly a little way ahead of the lamp, lighting the way it is going; with the drill still they hover over the nearest ore seen, and they gather round a rime bell. The prospector wren of the east leads the eye to a cache, a geode or a prism nobody has seen and the finder does not mark: it flits to the rock nearest it and pecks, and the find is called out by name. The puffling of the west drifts in its cave, and a loop of the tether round it catches it: half a cache's lump and three of the west's gems. The lantern newt creeps over the grotto's walls and lights a cap with its tongue of light, three in a visit at the most. Three are foes, each with a warning drawn over the dark in the foes' own colour, their shape ringed in it, and a moment after in which a ram drives them off for two minutes. Cinder bats roost in the forge and the magma; a drill rushing past (a long run, a spore's drive or a throw) or a cut beside the roost wakes them: they drop, screech, and a dashed line follows the drill until a moment before each swoops along it; on the line, the drill is knocked (one pip a waking at the most); where they stop they cling a while. Cave leeches hang in sporefall, bloom and tangle; over a slow drill one stiffens, its drips quicken, and it drops and holds on: the drill flies at three quarters of its speed until it is flown fast, rides home or the pal pulls it off; flown into while it stiffens, it is knocked from its roof. Rime spitters sit in serac and rime; rushed past within their sight, they swell (a wheeze, and a dotted arc to where the drill is going) and spit a glob of ice that chills a drill still there for a moment (never within the shield after a knock) and else plugs the open ground ahead with ice, never under the tether. With the trophy line bought, a foe at rest (a bat clinging where its swoop stopped, a spitter sagging after it has spat, a leech come down to the floor) that the tether goes round is caught as a puffling is: it pays the line's value in specimens of its ground's direction, banked at once and said as TROPHY, it and its den go, and the den is spent for ten minutes; a foe that swoops, swells, falls or holds on is never caught. Nothing lives within forty cells of the core, no foe within two hundred and fifty, in a pocket or in the home ground, and a careful pilot (a stroke at a time) never wakes a bat or a spitter. Each has its own soft voice, and its name comes up the first time it is met on the screen within the lamp's light, kept wholly on the screen; STATS says how many of the eighteen have been met (the fourteen and the lords' four broods, above).
-
Places have names. Coming into another ground, its name comes up: across the screen the first time it is ever met, on a small plate under the top bar after that. What is worth going for is called out by name the first time it comes into view (a cache, a geode, a wreck, a relic), with a ring round it and a dot on the map that stays until it is taken. A wreck nobody has claimed ticks when the drill is near, quicker the nearer. Names are all that is called out; what a thing is worth is said apart.
-
What a thing is worth is said where it is met. The first time in a game that a cell of something the lab knows of comes into the drill's view, where it is worth three rock or more (js/worth.js: the second tier, silver) or ten rock or ten gems (the third, gold), a panel comes up over the bar for a few seconds (
Game.eyeOn,showEye,drawEye): its picture on a chip rimmed in its tier's colour, its name (before it is analysed, what the lab's list says of it: where it is found), and its worth, the lab's own line (WORTH x4 ROCK, +5 GEMS). Where the cell lies in ground that pays more than the thing's own, it says how much more there (HERE x2in a deep flank,HERE +25%in a cross). One comes up at a time, and three wait at the most: what comes past them is not taken as met and comes up when it is next seen. None comes for a thing of the first tier (the common ores, met in every ground in the first minutes, which the lab rims with nothing either), none before the first haul, and none runs or is drawn under a panel or at the core, where the shop's button is. Each thing comes up once a game (S.eyed); a game saved before takes everything its lab has analysed as met. And a haul's banner says what paid most in it, where that is of the second tier or the third (Game.topPayer, frompayOf'stop: its cells' grit as the haul multiplies it and its lumps as they stand, the higher tier where two paid the same): how many cells of it came, its name (a?until it is analysed) and its figure as the lab says it,14 SUNSTONE x4,1 RIME BELL ~x190, in its tier's colour with its picture, under the gems. Not on a relic's banner or a shrine's, which say what they are; and not where the screen is too narrow for it or where the banner would then come within four rows of the drill, over it or under it.docs/shots/worth-seen.pngandworth-haul.pngshow both. -
Every ground has its own music. The home ground is a music box over warm pads; the north a slow waltz of glass over open fifths and the wind; the south a march on a stone drum, a reed sighing down a half step; the west a seasick lilt on a scale of whole tones, its pads swaying; the east a caravan, a reed over a drum and an oud. The deep flanks have darker pieces of their own, and each strain plays its direction's piece with one thing changed: firn a run of glass up the scale, serac every twinkle falling in shards, scoria rising bubbles, forge an anvil on the second and fourth beats, tangle every note coming back off the walls, sporefall one drip setting off two more, redrock a level bass, loess the quick road. Each pocket has a small piece (the hive's comb buzzes, the drift is a night sky with almost nothing in it, a pane of glaze shatters every other bar), and a cross plays its host's piece with its donor's own voice in it: the north's glass, the south's drum, the west's swaying pads, the east's reed. A place's name comes up with the first and last notes of its motif, and its bells ring in its key. The music changes when the drill has been in the new ground for a moment, the last piece's chord held over the turn, and it is soft, beside the sounds rather than under them (every sound and the bed of the place are laid on at 0.085, the music at 0.8, so that with both bars full the sounds sit beside it and not over it; a step of the sounds kept from when they were at six tenths comes back at the step as loud now, 3 then being 8 now), and steps back while anything that pays rings, and a little while the ground shakes. The home ground, each direction and each deep flank has a second piece that takes turns with its first on a long stay (the first goes round twice, then the second once), in the same key so that every drop and reward stays in tune: home at evening, a music box lullaby in three; the north an aurora, choir and drifting glass with no drum; the south war drums far off under a brass call; the west in fog, a slow three stepping down the whole tones; the east a night market, the oud running under a shaker; deep north an ice cathedral; deep south the furnace breathing in a slow six; deep west a greenhouse in the dark; deep east a treasury minuet. A strain plays its direction's second with its own change, and a cross its host's with the donor's voice, as each does its first. The seams and the deep strains have pieces of their own, each kept in its direction's key, and second pieces too: hoarstone a caravan crossing the ice, the east's reed in the north's open fifths over a music box (its second the caravan camped at night); glassdune the dunes at noon, a slow swaying six with glass glinting high (a sandstorm); cinderfen the fen smouldering, hollow pods popping and rising under a choir (a will-o'-the-wisp over the embers); frostfen a bog frozen at night, a slow waltz of glass drips falling in pairs (the bog at dawn); the glacier the ice moving, an organ pedal under a low groan wandering (the wind dropping, light through the ice); the caldera a lake of lava simmering, bubbles rising all through it (a geyser's clock); the mycelium a living network in five, signals ticking along it and coming back down the threads (spores drifting); the druse inside a geode, every chime coming back off its walls (the geodes singing). Each deep seam plays its seam's pieces slower and lower: skarn with an organ held under, obsidian with pads of glass, tarpit on a harmonic scale with its drum doubled, muskeg darker with a knock in the bog.
-
Every haul has a name, some of them rude. A haul of a dozen cells or more is called across the screen by its size, on a ladder that climbs slowly: NICE CUT, BIG HAUL, HEFTY HAUL, HUGE HAUL, MASSIVE and, only from 550 cells, COLOSSAL; each size has three names said by turns (TIDY!, CHUNKY!, ABSOLUTE UNIT!, IS THAT LEGAL?! ...). From a thousand cells the giants have their own words (MOUNTAINOUS up to WORLD EATER), each with a line under it. A haul that lies mostly in a place of its own is named by the place, and some hauls are named for what they did, with a line under the joke: a loop that caught a creature (ECO-VANDAL! YOU MONSTER), a haul made on the last half heart (CLUTCH!), and under MASSIVE a haul half ore (MOTHER LODE!), one of bare rock (PURE GRAVEL! A FINE VINTAGE) and one of three sleeping hazards or more (HOT POTATO!). A haul over the winch's load says THE WINCH IS CRYING. A relic, a wreck's part, a cache, a rare hazard and the flywheel's run still outshout them all.
-
Small hauls do not stop the flight. A piece of fewer than 12 cells is reeled in with no banner, flash or beat of stillness: what it paid rises from where it lay.
-
What the bit crushes is analysed. Ore the drill cuts through is lost and the cell says CRUSHED, but it is a sample for the lab, and under CRUSHED the cell says what the lab made of it:
SAMPLE 3/4, the count on its way to the next analysis, orANALYSED +3%when this sample completes one. The first sample of a thing is an analysis, and so is every doubling of the count after it (2, 4, 8 ...); each makes every one of that thing hauled worth a hundredth more. Eighty-nine things can be analysed: the two ores of the home ground and of each ground of the four directions (its own, its two strains, its seam, its deep seam, its deep flank and its deep strain; the east's own are the home ground's, and a deep seam's are known at least as well as its seam's were, which they were known as before:heir), the rich ore of each of the twelve pairs of crosses (a stone of the pair's own, drawn in its donor's outline and paying its donor's gems, which is known at least as well as the lab knew the donor's rich ore it was drawn and known as before:heir, so no older game's haul pays less), steel, keystone iron, the seven pocket minerals, the seven hazards (lava, a spore pod and a spark crystal, and the four rare ones), which are sampled as the bit goes into them and go off as ever, and the ancient stone of the deep: the walls of each corner's shrine and of the builders' halls, each drawn with its own stone over the vault where the world laid it (World.stoneOf; any other vault is nothing to the lab). (A rare hazard is there to be counted: crushing one forfeits its lump, and a world has too few of them for its own hundredths to come to much.) A tap on the bar opens the lab's notes, a list in parts, home and all round and then each direction and the corner after it, going round with the sun from the north (north, north east, east ... north west;LAB_PARTS, a thing'spart; a corner holds what lies where two directions meet, a seam's two ores, its deep seam's two and its shrine's stone, which count toward the direction whose ground the seam is, is marked by a stone cut in two in both their colours, and is not shown while it holds nothing; a cross's rich ore is listed in the direction it lies in and counts toward its donor), with how many of each part are known, and what each thing is worth (js/worth.js: against a cell of plain rock out where it lies,WORTH x4 ROCK, +5 GEMS, copper and violet quartz at home and in the east, and what pays a lump about so,~x12 ROCK, against a haul of the model's size at the winch's level; and a rim on its chip, none, silver or gold, by what that is worth: three rock or more, ten rock or ten gems or more): each thing with its picture and what it is worth now, and under the list how many samples there are and a line about the thing chosen. The list is dragged with a finger (a touch that does not move chooses the line under it, unless it came down to stop the list running on), runs on a little when flicked, scrolls under a wheel, and is stepped with the arrow keys or W and S, Page Up and Page Down, Home and End; a key held walks on, if it was pressed with the list open (one held to fly with does not). Each picture sits on a chip a little lighter than the panel. The thing chosen is kept in view, and a mark at the list's edge says where it lies when a finger has dragged it away; what has not been analysed yet says where it is found, and a ground's two ores, before either is known, which is the common one and which the rich. Samples taken of a strain's or a deep flank's ore before it had a name of its own were counted with its direction's ore and stay there: those ores start their own count at nothing, so what a game had earned on them under its direction's name it earns again, and since a hundredth comes at each doubling, samples spread over four grounds' ores earn a little less than as many of one. -
The hull takes knocks, and the drill can be lost. The hearts after the grit in the bar are the hull, each two pips: five pips at first (two hearts and a half), one more for each level of HULL, so a knock takes half a heart. A heart is nine pixels by eight, two round lobes over a point with a glint on the left, its dark rim laid under every heart before any is coloured so a whole one is never parted down the middle. Half a heart just lost blinks white, and the last half left blinks red. Lava the drill cuts into or that pours on to it, a crystal's arc within two and a half cells and a spore pod's burst each take a pip, and for three seconds after a knock nothing takes another (the drill blinks). Leaning on lava does not burn: it only stops the drill, as rock does. Twenty seconds after its last knock the hull mends a pip by itself, and again every twenty. With one pip left the drill smokes. Riding on to the core mends the hull for nothing. With the last pip gone the screen says HULL GONE and goes dark, and the game goes back to the last docking, the moment the drill last left the core: what was banked, bought and analysed then, and the ground as it was then, every cut and haul since undone. The drill stands whole on the core and the screen says TRIP LOST and the grit the trip cost.
-
WORKS, the shop's second tab, fits the drill with six things paid for in grit and the specimens of one direction's pockets: MENDER (north) mends a pip every fourteen seconds, then nine, then five, and late in a game four and three and a half, where a hull mends itself every twenty; LAVA SKIN (south) lets the drill fly through lava unharmed; SPORE DRIVE (west) turns a pod's burst into three seconds at half as fast again; ARC COIL (east) turns a crystal's arc into a pip mended; DIAMOND TIP (north, whose pockets give starglass) lets the bit cut metal, the south's steel and the iron of keystones, at its own pace, where without it metal takes three times as long; FLYWHEEL (south: 10 and then 30 of its specimens) pays a stream of quick hauls against one great loop: a haul of a dozen cells or more made within six seconds of the last of its run pays its cells' grit (not its lumps) eight in a hundred more for each haul of the run before it, and at its second level twelve, up to four and then six tenths more, and its banner says SPIN x2 and on; a smaller haul is paid as ever and adds nothing to the run, and a knock or a wait of more than six seconds begins it again. Even at its most a dozen cells pay less a cell than a loop of two thousand at the winch's load. The mender is never as quick as the three seconds after a knock in which nothing lands: a mender inside them gave back each pip before the next blow could take it, so that no steady fire wore a hull past one dent, and the hull's late levels and the black box's were bought for nothing. LAVA SKIN, SPORE DRIVE and ARC COIL each have a second level late in a game (60, 40 and 60 specimens, the graft from 810 cells out), each a thing to plan round where the first only takes the harm away. SMELT, the bellows: lava that wakes turns the slag within two cells of it to steel, not only the slag beside it, so a pocket woken on purpose is a south build's mine of steel; the slag beside it turns wherever it lies, as at the first level, and only the rest is held to the reach. GRAFT: moss that closes beside ore the world laid heals as that ore, as the north's frost heals a cut, and never beside ore that healed, so a bunch of pods burst along a vein grows a little of it back. CHARGE, the capacitor: an arc taken in charges the bit for eight seconds, and the next cut lets it go, shattering the dense rock and slate round the cell cut for nothing, as an arc shatters slate. None of the three reaches into a pocket or past the tether. All six show on the drill, and the three second levels each with a look of their own.
-
The screen. The map is in the top right corner and shows the drill's surroundings and nothing beyond them. The bar is at the foot of the screen: grit, the hull's pips, what the lab knows, each direction's gems (or each corner's, out where they are had: above), and how much reach the tether has left. A tap on the bar opens a panel of tabs, one frame for all four, and the shop's, so that the tabs do not move under the thumb (on a screen held sideways too short for STATS in one column, twice as wide, and STATS in two): STATS, what the drill is now, in no more than 20 lines (reach and how far out the drill has been, the bit's cut and plough, speed, the winch's load, scan, hull, what each hazard does to it, the rare hazards met on one line, RARES, once two are, and what a live catch pays, the lords beaten once one is met (with a rare hazard met as well, what the mender does said on the hull's line, so that there is room for it), what wreck parts and the flywheel add to a haul, places and creatures met, what the lab knows, specimens and what a foe pays, the map); LAB, the lab's notes, a list that scrolls (with it open, the up and down keys walk the list and do not fly; left and right, Escape and L shut it; I, L, M and Escape open STATS, LAB, MAP and MENU on a keyboard); MAP, the chart of the whole reach, once it is bought; and MENU, with how loud the sounds are and how loud the music is (a bar of ten steps each, set apart: a tap on the bar sets the step under it, a tap on the name turns it off and back on at its step, both kept on the device, the music off at nothing), the language (a list of the three, opened by a tap) and NEW WORLD (two taps). A line along the top of the bar shows how near what is banked has come to what the player is saving for (
js/goal.js): of the rows that need nothing more found and cannot be bought yet, the cheapest in grit whose gems and specimens are in hand, or else the cheapest, or a row the player tapped and could not yet pay for. The shop pins it with a yellow mark after its name, the line blinks green once it is affordable, and coming home with enough says READY at the core. Nothing of it is saved: a game loaded, begun or gone back to after a wreck picks again. What is called out across the screen (a haul's banner, a word, CORE RESTORED, a ground met for the first time) stands clear of the drill, each a few rows under the one before: over it, under the map, where it fits there, else under it, a large title on two lines at size 2 where one is too wide for the screen; and the worth of a thing first seen waits while one stands on its panel. -
Every row says what its next level does. Under its name a row says, in a few words, what its next level changes (the bit's cut, the winch's load, how far the finder reaches, what a fitting's second level does), and its own words once it has none; on the narrowest phone a step too wide to fit says what the two values share once, or the next value alone, and a need too wide drops its NEEDS.
-
Upgrades ask for things found. Grit and gems are not enough for the first tab: each level also asks how far out the drill has been, in any direction, so the rig cannot be bought up from the ground about the core. REACH is bought with grit alone, and from its third level asks that the drill has been three fifths of the way out its tether already goes; BIT, WINCH, RAM and HULL ask for set distances (40 to 700 cells; HULL 150, 280, 440 and 660, and RAM up to 500, no more than eight tenths of the reach each level is priced beside, so it opens as that reach is flown and not in the minute the next reach does); SCAN asks for wreck parts. From the reach of 230 on, a level asks gems of one direction as well: SCAN and REFINERY the north's; RAM, HULL, CHART, LAMP and TROPHY LINE the south's; WINCH, RANGE, FINDER, BLACK BOX and LIVE CATCH the west's (the west had least to spend its gems on); BIT, LENS and GEM CUTTER the east's. WORKS asks specimens in their place. Each row of the shop says what its next level changes where it can, in a few words: the bit how many times faster it cuts, the winch its load at full pay (
LOAD 400>1000), the finder how far out it marks which finds. The row says what is missing (NEEDS 212/450 CELLS OUT) in place of its price. The finder marks finds within 120, 200 or 320 cells of the drill, by its level. In MENU, under the two rows, are the last frames that took a fifth of a second or more, with how long each took and where the time went. A piece larger than the winch's load pays as its load does and a little more for each doubling past it, in grit and gems alike, so cutting a whole quarter of the ground loose is no longer worth half the shop. -
CORE, the shop's fourth tab, is what the station is built up with late in a game, at many times the price of anything else (a level costs from one and a half to six times the step of reach it lies beside, and gems by the thousand, up to 19M grit and 25,000 gems), each level also asking for much to have been found: REFINERY multiplies every haul's grit (to x2), GEM CUTTER every haul's gems (to x2, asking for 8, 18, 28 and 36 kinds analysed: about one direction's worth, two, most of three and all four; a game that had its next level open at 7 kinds of the sixteen asks 18 now), LAMP carries the drill's light further (8.5 cells to 14, at about a third of what it cost: 140K, 800K and 3.5M) and, once one is bought, sees across open ground as far as it reaches, as the scan sees into the rock about the drill: a cavern's far wall and what stands in it, a hazard, a prism, a cache, are drawn and called out from across the cave, and nothing behind a wall is; BLACK BOX keeps a share of a trip's grit when the drill is lost (to three quarters), and at three quarters and on all it learnt besides (the lab's samples, and the grounds, pockets, rare hazards and creatures met), but not a wreck's part or a relic, which lie where the drill was lost, nor the trip's gems or specimens: the ground comes back as it was at the docking, every pocket hauled on the trip with it, and a share kept paid a pocket's specimens again on every trip lost; LIVE CATCH pays a rare hazard hauled while it is awake (a bell whose fuse burns, a fumarole rumbling or between its jets, a lodestone humming or pulling, a glowworm swimming) two and then three times its lump (four, late), and says CAUGHT LIVE, where only a swimming glowworm paid twice (it still does with none; the west's gems, asking 30 and 42 kinds analysed, as many as a game has by the time it has been out among them), and TROPHY LINE catches a foe at rest in a loop, for two and then three of its ground's specimens (four, late; the south's gems, asking 6 and 10 kinds of creature met): a bat's in the forge and the magma are the south's, a leech's in sporefall, bloom and tangle the west's, a spitter's in serac and rime the north's, and one set down where no direction's ground is pays its own kind's. One trophy a den in ten minutes of play, however many of it rest together. The last two stand on the station: the live catch a clamp at its east socket, a jaw more a level, and the trophy line a rack of barbs under the core, which also puts barbs along the tether.
-
The late game. Past those levels each row has more, for the ground beyond a thousand cells out, from 10 million grit to 450 million and 3.4 thousand million in all, each asking something found far out: a distance no level before it asks (760 to 1,850 cells), the far wrecks' parts, the far ground's kinds (the gem cutter's sixth level asks 43: three at least of the forty-nine that lie from the seams out, the seams', the crosses' rich ores, the deep seams', flanks' and strains' and the ancient stone), nearly every kind of creature met, the specimens of many pockets, or relics; and eight of them ask for the corners' gems (above): played five hours on worlds 3, 7, 11, 23 and 42, the six of those that ask no wreck parts were bought between 117 and 294 minutes in, each having waited on its corner's gems from twenty minutes (the black box) to two and three quarter hours (the hull's 12), where the same pilot bought them by 210 minutes paid in the directions' gems as they were (by 250 on world 11 with the hull); on world 11 with the hull taking harm, a game that runs an hour and more behind the rest, three of them were not bought by 300. They cost the rest of the late game time: from about two hours on the pilot works the deep seams about a thousand cells out where it went on to two thousand, a game earns a quarter to nearly half less grit by five hours (7.5 thousand million to 5.5 on world 7, 8.3 to 5.1 on world 11, 8.1 to 4.7 on world 42), about 0.4 million a second at the end where it earned 0.9, and the levels that ask relics (the refinery's last two, the gem cutter's last and LIVE CATCH's) are bought on none of the seven plays, where the game before bought them on five, the pilot no longer reaching the relics 2,000 out. By the owner's word the two dearest, the hull's 12 and the winch's x5, ask 50,000 where they asked 75,000 and 80,000: played again, the hull's 12 comes 21 to 41 minutes sooner and the winch's x5 9 to 22 sooner on the six plays that buy them, the rest of each game as it was, and world 11 with the hull still buys neither by 300 minutes. No two of them ask the same distance, and none what the last reach asks (900): they open one at a time, forty or fifty cells apart, the first three (RAM, the spore drive's graft and MENDER, 760 to 850) while the drill works its way out to the last reach, where they used to open three at a time in the minute the drill got there and leave forty minutes with nothing to buy before it. A row's first late level costs what it did; its second and third half as much again, so that a game a hundred minutes in still has something to save for. The bit's three late levels plough: from MK6 the drill keeps its run through ground the bit cuts in a blink, as it does through ash, and is not drawn square on to each block, so a loop drawn freehand is the loop cut. MK6 ploughs soft rock, ice and the plainer ore, MK7 dense rock, basalt, slag and the richer ore, MK8 slate and, with the diamond tip, steel; never a hazard, a find, a key, a cache, a relic, a wreck or a pocket's ground, which stop the drill as they always have, and ore ploughed through says CRUSHED once a second at the most. (They cut no faster than the level before: a cut takes whole frames and the run began again at every cell, so in soft rock MK6 went as MK5 and MK8 as MK7, to the cell. With the ram's fourth level the bit's last four levels now go about 10, 24, 32 and 38 cells a second along soft rock, and 7, 8, 17 and 22 along dense.)
-
The map in the corner shows the ground near the drill, with the drill in its middle; the core, the first slab and pockets not yet visited are marks at its edge when they lie off it. Ground hauled away shows open at once. MAP, the shop's third tab, makes it better: RANGE shows further (69 cells across, then 104, 161 and 230); LENS tells more apart from plain rock in colours of their own (ore; then hard ground and hazards; then minerals, caches and the rest); FINDER marks finds the drill has not yet seen (caches; then geodes; then prisms); From RANGE's third level, where a pixel is three cells or more, the lens looks at four cells spread over each pixel and shows the rarest (a rare hazard, then a find, a hazard, hard ground, ore), so a lone cache or hazard is not lost between pixels; and the finder marks finds as far as it reaches, the nearest eight past the map's edge as pips on its rim on the line from the drill. A find or a pocket goes from the map once it is got to, however: a find hauled away unseen (a big geode's heart is hollow, so a geode lassoed whole was never seen), and a pocket whose ground the tether has drawn in from outside. CHART is a map of the whole reach, read anywhere by a tap on the map or as the MAP tab of the bar's panel; it is dragged to look about it and pinched, wheeled or stepped by its + and - buttons to look closer, down to four pixels a cell. Ground not yet seen is drawn at a floor of light, grained with the colour of its own debris, and on the chart a pixel whose ground differs from the one to its left or above is a quarter darker, so the provinces and the seams read as places and not as flat dark slabs; the chart marks the four shrines from the start, a cross in their two directions' colours, and rings each corner's herald once the finder reaches it.
-
Keystone slabs. Here and there a great disc of ground is already cut round by a natural crack and held to the world by two or three keystones of iron set across it. Cut through the keys, fly one lap of the crack, and the whole disc comes home in one haul: a few hundred cells, which is what the winch is for (a piece over its load is paid less, and the banner says so). The last key's glow lights the whole slab. One slab lies 52 cells from the core in every world, and is a ring on the map from the start. A cobble field is the same ground cut into blocks four cells square by open joints, each block held to the next by one key: fly round as many blocks as you like, in the joints, and they come home.
-
A prism is a clear crystal in a ring of plain ore, from 130 cells out. It pays nothing itself: every prism in a haul makes that haul's gems half as much again, up to three.
-
No dead ends. The winch draws in whatever the tether is round, however much: over its load a haul pays less a cell, and a loop right round half the longest reach is the biggest haul there is (HALF THE WORLD). And the next REACH costs less where the ground this one reaches is spent (the shop says GROUND SPENT: CHEAPER), down to next to nothing where all of it is gone.
-
Pockets. Here and there lies a small place of its own, a screen or a few across, with its own rock, its own dark, one mineral found nowhere else and one rule in the shape of its ground. One lies just past the home ground in every direction, and the map marks every pocket within reach that the drill has not been into with a pip. The west's is the amber hive: a comb of wax chambers walled all round, and in some of them a nugget of amber hung from the wall by a stalk. Bite in through the wax, bite the stalk, fly once round the nugget and it comes home. Amber cut into is crushed. A pumice drift, found in every direction, is an open cavern like a night sky with boulders hanging in it that are loose already: there is nothing to cut, only to circle, and each boulder reeled in within six seconds of the last pays its aerolite a fifth more and rings a note higher, up to double. An ash flat, in the south, is pale ash that is worth nothing and cuts like air, salted with tektites: the drill ploughs through it wherever the thumb draws, at close on flying speed, and a great freehand loop brings home every tektite inside it. Four more lie from 300 cells out, one to a direction. North, glaze: sheet ice in panes of ten cells, where one bite shatters the whole pane and leaves the starglass that was in it standing in the open. East, a shale stack: level beds that split along the grain, so a bite pushed level sends a plank of four cells away at once, with agate lying in seams along some of the beds. South, a tinderwork: coal laced with rings of fuse; bite the fuse and the ring burns itself open, and its heart, with the fire opals in it, hangs loose to be circled. West, a lantern grotto: caves hung with dull caps that light, each with a note, as the drill flies by; only a lit cap pays as the grotto's mineral, so the place is flown through before it is cut. These four bring the pockets' minerals to seven of the lab's eighty-nine.
-
Specimens. A pocket's mineral pays a lump of grit and, besides, specimens of the direction the pocket lies in: one count for each direction, shown under the top bar when a haul adds to it. They are kept for things to come; gems buy levels, as ever.
-
Rare hazards. From 450 cells out, now and then, one of four things lies in the rock, one to a direction: most often in the deep flanks, the crosses and the far ground, and once in a while in the middle of a long stretch of one ground. Every world has one of each about 590 cells out. Each is called out by name the first time it is seen, with a ring and a dot on the map, and lassoed asleep it pays a lump as a cache does, and ten gems of its direction. Woken, each does a thing of its own. North, a rime bell of black ice in a disc of dense rock and rich ore, ringed with ice: cut beside it and it shivers for a second and tolls, and the ring of ice cracks open all round, so the disc hangs loose until the crack freezes shut again seven seconds later; fly the crack in time and the whole disc comes home. South, a fumarole, a cone in a rind of slag: open one of its sides and a second later it fires a jet straight out of that side three times, boring a straight tunnel of up to a dozen cells, turning its slag to steel and waking what the tunnel passes; stand off its line. West, a glowworm, a light coiled in soft rock: woken, it swims away through the rock by trading places with it, a cell at a time, and cannot cross open ground, so cuts, caves and hauls fence it in; lassoed awake it pays twice. East, a lodestone at the heart of an eight-armed star of ore: woken, it hums and drags the ore of its star home through the rock, a piece every third of a second, the next one blinking white first, into one ball beside it that a small loop takes whole; ore flung across the drill knocks it. Cut into, any of them is crushed and goes off at once. Each has its own art and its own sounds, and a line in STATS once it has been met.
-
Every level shows. Each level of the rig is drawn on the drill, the tether or the station, to the last: the bit is a new metal and a new shape at every level, and named so where it is fitted and in STATS (a STEEL cone, a BRONZE auger behind a brass collar, a COBALT fork, a GOLD crown of three teeth, a DIAMOND cut in facets, and on the longer cone a VOID needle through a magenta ring, an EMBER cone with swept fins and a STARMETAL cone burning to a star), and from gold on it glows as it bites into hard ground, throws sparks off its point and, hottest, a shimmer; the ram is a thing of its own at each level, and named so (a RUNNER, a steel rail; FINNED, red fins swept back; a THRUSTER, with a pair of nozzles; a TWIN JET, its fins tipped gold and its nozzles glowing; an AFTERBURNER, ember wings swept back to the bit; a COMET, white and blue wings swept forward past it), and from the thruster on burns behind it at speed, from two nozzles either side of the tether, longer and hotter at each level and blue at the last; so is the hull (BANDED, TWIN BAND, FRAMED in riveted steel, clad in COPPER, and from COBALT a shell closed over the body: COBALT, blue; GILDED, gunmetal trimmed in gold with gold cheek plates; and AEGIS, pearl seamed with blue light and guards round the bit's root), and from COBALT on its plates are seen holding, glinting in their own metal, while nothing can knock it; the tether is a tether of its own at each reach, and named so (TWINE; HEMP, twisted; KNOTTED, hemp with a knot every so far; PARACORD, a tight orange weave; STEEL WIRE, fine and twisted; CHAIN, bright links on a dark line; GOLD CABLE; FIBRE, a fine blue line; PLASMA, a cyan cable in a glow of its own; STARLINE, violet, glowing and strung with stars), and from GOLD CABLE light runs out along it, and its dotted ring is the tether's colour; each winch is a winch of its own in shape and colour, and named so (IRON, riveted; STEEL, with bolted lugs; GEARED, a bronze cog with an amber well; FROST, ice with crystal spikes and a snowflake in the well; CRYSTAL, faceted violet with clusters of shards; MAGMA, basalt split by glowing cracks round a well of lava; STORM, with a tesla coil at each corner; GRAVITY, a purple ring with a band in orbit about it and a well that turns; SINGULARITY, a burning disc falling into a black well, haloed and crowned in the four gems), with lights in its own colours circling it from MAGMA on, and the scanner is a scanner of its own at each level, and named so (a ROD, a whip aerial; a YAGI of three crossbars; a DISH; a BIG DISH with its feed on struts; an ARRAY, a panel of teal cells; a RADAR bar with a beacon; and a DEEP EYE, a violet orb on a tripod), and from the BIG DISH sweeps a beam and pings while the drill is home. What WORKS fits has a place of its own on the drill, so that a drill with everything fitted is one machine and not a heap (the mender's lamp under the glass, the flywheel beside it, the capacitor at the top right, the keel along the belly, the vents in the tail's rim, the coil between body and bit), and at rest each is engraved in the hull, a shade darker or lighter than whatever the hull is, with a pip in the dark of its own colour; it shows its colour as it acts: the mender's lamp (a cross, larger at each level) blinking while the hull is dented and lit as it mends, the lava skin glowing in lava, the spore drive's vents puffing while it drives, the arc coil crackling as it takes in an arc, the diamond tip glinting on metal; at a fitting's second level the lava skin's bellows (a grille of hot vents under the keel) blow heat out under it as they quench, the spore drive's graft (a green canister behind the mender) puffs as moss heals to ore, and the arc coil's capacitor (a small violet can at the top right of the body) stays lit and sparks while the bit holds its charge; and the flywheel's wheel in the body, its hub steel and then copper, spins lit in its metal as fast as the run of quick hauls is long. What CORE builds stands on the station, a picture a level: the refinery's stacks, which smoke, and throw gold while a haul is paid as the well glows gold; the gem cutter's wheel and rack of cut stones, which glint, and give the well the colours of the gems coming in; the black box, which blinks there and on the drill, and fast over a wreck, calling; the live catch's clamp, a jaw more a level, whose green tips light as a rare hazard comes home awake; the trophy line's rack of barbs, two, four and six under the core with a gold plate at the last, which lights as a foe is caught, as do the barbs it puts across the tether (steel, ember and gold by level); and the lamp, a light on the drill's brow, warms its nose and throws a flare off it. A level bought lights its row and stamps its new value; when the shop is shut it is fitted at the core, a part at a time, with a ring and its name, and a drill part with a turn on the core (out in flight, where the drill is). The last level of a row, a WORKS fitting, anything of CORE and the first buy of a game are fitted with more show: a circle of light at the core, rings, the screen lit a moment and its name under the core. One soft sound for everything bought at one visit to the shop. None of it changes anything but what is seen and heard.
What lies how far out, along a direction's own line and along a diagonal (the deep flanks fill the angles between from about 900 cells; the distances wander a little from world to world):
| cells out | on an axis | on a diagonal |
|---|---|---|
| 100 | the home ground (to about 130); prisms from 130 | the home ground |
| 300 | the direction's own ground and its two strains, in provinces from about 200; its first pocket at 165, and pockets from 300 | the two directions' grounds and strains along their wandering border; pockets |
| 600 | crosses (from 500); the rare hazards (from 450, the direction's herald about 590) | the seam (from about 470), its set piece where it begins, the corner's herald about 611; crosses on either side |
| 1,000 | crosses, a third of the provinces at most; twin stones (from 800) | the deep seam (from about 900) between two deep flanks; twin stones |
| 1,500 | the same, richer; fossils (from 1,200) | the deep seam; the flanks in provinces, three in ten of them their deep strain at 1,350; the shrine at 1,400; fossils |
| 2,000 | the relic in its vault; builders' halls (from 1,600), thicker near it; the dark a sixth deeper (a quarter by 2,200) | the deep seam to the world's edge; six in ten of the flanks' provinces their deep strain (from 1,650); builders' halls |
| 2,210 | the direction's lord at its lair, the axis's end; its broods in half the dens of kin from 1,600, within 300 cells of the axis | the deep seam; builders' halls |
Progress is saved on the device: what you own in local storage, the ground in the browser's database. There is no server and no account. A game saved by an older build still loads: the ground it had seen stays as it was, cell for cell, and so does every cell it changed without seeing, and the places made since lie beyond it (NEW gives the whole new world). Each piece of the world is saved with the generation of rules that laid it; a game saved before the seams and the deep strains has its unseen ground in reach of them brought up to today's rules once, as it loads (about a fifth of a second for a three-hour save on a desktop, under a second on a phone four times slower; a save that went out to all four relics takes half a second or so, two on such a phone), and says NEW GROUND, THE DEEP HAS CHANGED: the new ground runs right up to the edge of what was seen, and a seam or a hall that the old game had half seen is there only on the side it had not. A shrine whose heart the old game had seen is not there at all, nor marked (its heart would be the old rock, never to be hauled); the dens on ground it saw are of that ground.
The game speaks English, Russian and Mandarin. English is the default; a tap on the menu's LANGUAGE row opens a list of the three under it, and choosing one that is not the language spoken now saves the game and loads the page again in it (a tap on the row again shuts the list). A link can name one: ?lang=ru or ?lang=zh (or ?lang=en) opens the game in that language and keeps it on that device as if it had been chosen in the menu, and a link with no lang leaves the device's choice as it was, so a device that has never chosen speaks English.
The code writes every line in English, and js/lang.js turns it where it is drawn (text and textWidth in js/atlas.js, and the lab's notes before they are broken into lines; Mandarin is broken between characters). The lines are in one table, js/words.js, each in English, Russian and Mandarin, fetched only for a language that is not English: a # in a line stands for a number and a * for words that are turned in their own right (* HAUL!, HOLLOW *), and a line no key fits is drawn in English, so a new line of the game shows in English until it has a row. The Cyrillic capitals are drawn for the game in the manner of Pixelbolt's font (art/cyrillic.mjs). The Chinese characters come from Fusion Pixel Font at 10 pixels, under the SIL Open Font License (art/OFL-fusion-pixel.txt): node tools/cjk.mjs <fusion-pixel-10px-proportional-zh_hans.bdf> takes the characters the table uses into art/cjk.json, and the build lays them and the Cyrillic into the font's sheet under Pixelbolt's ASCII, which stays where it was. l-lang.mjs runs in each language and holds every name the game's rows hold (the shop, the lab, the places, the hauls, the creatures, STATS at every level) to a row, every character to a glyph, the lab's names and notes to their lines on the narrowest phone, and the link and the kept choice; test/all.mjs runs h-shop-fit.mjs in Russian and in Mandarin as well, and any test run with TETHERBORE_LANG=ru (or zh) plays in that language, writing every line it drew that the table lacks to the file TETHERBORE_MISSED names.
The world is about 4,800 cells across, far too large to hold whole. js/world.js makes it a 64 x 64 piece at a time, from the seed alone, the first time anything looks there, and only pieces that have been seen or changed are kept and saved. js/game.js is the game: flight, the tether, hauling, hazards; js/drawing.js draws it: the scene, the top bar, the map and the panels, as methods of the game kept apart from its rules; js/shop.js is what everything costs and the rows of the shop.
Text, the hull's hearts and the map in the corner are drawn with as few calls to the canvas as make the same pixels, for on a phone each picture laid from one canvas onto another costs four or five times a rectangle filled. text (js/atlas.js) keeps each line it has drawn, in each colour (its shadow's and its own), as a picture of its glyphs at the font's size made once from the tinted font as the glyphs were laid, and lays it in one call, as large as it is asked; the pictures lie on the rows of a few shared pages of 512 by 66, and where there is no room left the row drawn from least lately is emptied, so a line that changes every frame (the grit counting home) never makes them grow; a line is found by its colour and then by itself, so finding one makes nothing, and a line's width (textWidth) is kept once measured. A heart of the hull is a picture made once for the colours of its halves, whether it is the half heart last and its glint (heartPic), and the map's picture works out the cells its columns and lines of pixels look at once a picture; what the seed says of a cell in no piece made is kept once asked (World.biomeKnown, a piece's cells to a list of a byte a cell, 256 pieces' worth, 1 MB, let go whenever what the seed says may have changed: forget, which a new world, a game loaded and migrate pass through, or a piece's generation), and what the map, the finder's marks and the pockets' pips were last made for is kept as the figures and compared one by one, the pockets visited counted as they are put down (Game.visit), so a frame builds no line to ask.
A frame makes as little as it can for the browser's collector to sweep up after it, for on a phone a frame that made a third of a megabyte set a sweep going every ten frames, and late in a long game the sweeps stood the game still for a frame or more. The rubble's push apart (jostle, js/game.js) copies the bits' places into two arrays of figures once a call and sorts them into a grid of the cells of the box they lie in, a chain a cell in the order of the list, kept and grown (a table of hashed chains past 65,536 cells, GRID_MOST), so every pair is met in the order it was and every push is the same arithmetic; a bit drawn along the route is told where to go in figures kept for it (alongInto, onRouteInto). A loose piece split by a cut of more than one cell follows what is left of it over bytes kept a piece of the world, from the same cells in the same order as the set of them it was, and every byte is clear again when the split is done. The lists of particles, rings, motes, effects, popups, clouds and a fumarole's jets are kept in place (keepIf), in their order, and walked by index, not by for-of, which in the browser made an iterator of the motes every frame (0.7 KB a frame with the lab open), the lava a step begins with is read into lists kept for it, and the nine parts of a frame timed by name are each wrapped by a function of as many arguments as the part takes, adding to one probe made once with every name there, set to 0 again by frameTook, the long frame written down as it was. The drawing keeps what it lays a frame on the game or the haul and writes it again: each haul is drawn by a method of its own (drawHaul, apart from the rest of render so that the browser optimises it on its own: inside render its figures were boxed as numbers on the heap, a fifth of what a frame at the core made), the corners its loop goes round as figures in arrays grown once, the octagon, the cull, a stable sort and the outline as places in them, each figure worked out as before; each haul's loop and line home a rope with its points; the tether's points (Game.layInto, as lay into figures), its rope, the parts of every rope that cross the view and the box they were drawn in; where the drill is drawn and its wake; the dark's canvas's context and where it is laid; and the names of the frames a figure picks (a crack's stage, the lava's neighbours, a jet's flame, a glowworm's heading) are made once. A rope is traced by traceRope, with no closure, and a panel's nine slices (slice9) and a line clipped to the view (line) are worked out with no list made of them. test/regress/r-work-kept.mjs holds what update and render allocate a frame, exactly, under what they were brought down to.
The feel of the grounds is js/feel.js, and nothing in the game asks it anything. Its table, FEELS, has a row for each hand-made ground by name (a row with none, such as one a test makes, has its direction's), and a cross is its host's row with its donor's mark at half strength (SIGN). It has a generator of its own seeded from the world's seed and never draws from Math.random; it reads only cells that have been seen, so no piece of the world is made for it; its particles are its own, a pool of 160 made once, and it never writes the game's particles, motes or shake (a quake shakes the view, and the drawing adds it to the shake only there). What it knows of the cells in view (ceilings, floors, vents) is kept a piece of 8 x 8 cells at a time and looked at again only when what those cells are has changed. Its sounds are a section of their own in js/audio.js, and the notes a drop is struck on are PLINK, which the music points at the key of the piece it is playing. The icicles of the caves are the feel's to let fall: one the drill flies under, or a few a quake shakes loose, come down one at a time (Feel.icicleFall, Feel.loosen), shiver, fall and shatter, and the cells they hung in are its fallen, which is game.fallen, which the drawing reads; the piece of ground each hung in is drawn again (game.redraw), and the set is emptied whenever the feel is begun again. It changes no cell and knocks nothing.
What the upgrades show is js/fit.js, and nothing in the game asks it anything either: the game tells it what was bought (Fitter.bought) and when a power of WORKS acted at an instant (Fitter.fire), and it reads everything else, the drill cutting, its speed, a spore's drive, lava, a haul being paid. Its generator is its own and it never draws from the game's; its sparks, exhaust and smoke are a pool of its own, 96 made once, and its rings, effects and words are its own, so it never writes the game's particles, rings, effects, popups, flash, shake or pause, nor the drill's heading (the turn it gives a drill fitted on the core is in what is drawn, look); it lights nothing in the light map, and what glows is laid over the dark. Its tables (TETHERS, the tether's look and the light along it, and the frames of every level) are made at load, nothing it does in a frame makes an object, and the sheets it flashes and tints are tinted one a frame in a game's first frames. A purchase is queued and fitted once the shop is shut, a fitting every 0.35 s, six at most, the latest level of a row once; it waits while the shop or the lab is open or the drill is wrecked, and a part of the station is not fitted where the station is out of view. drawDrill takes the look of the frame: the flame behind the drill, the bit hot, what is fitted lit, the whole drill flashed a colour, every alpha times the caller's, and the tether is cut away in the drill's shape alone. s7-fit.mjs holds it.
The creatures are js/fauna.js, and the game asks it nothing but fauna.drag (1 unless a leech is on the hull). Dens lie on two grids of sectors counted from the core by the seed's hash alone (salts 800 to 807, which nothing else uses): a named den in 35 sectors in a hundred 48 cells across, a den of kin in 30 in a hundred 16 across; what lives in one is its ground's (ROSTER, by the ground's name, a cross its host's with the donor's kin lent to one den in three). A den finds a home only in ground that has been seen, the nearest cell to its middle that the seed left open and that suits what lives there, two dens looked for a frame at the most. It reads only cells that have been seen (peek, and its own line of sight, clear, which takes ground not seen as rock), so no piece of the world is made for it; it has a generator of its own seeded from the world's seed and never draws from Math.random; its creatures are a slot each in arrays made once (16, eight of them above kin), its particles a pool of 48, its rings and words its own, and nothing it does in a frame makes an object. Everything it does to the game is a deed (deed): a bat's knock (hit, JOLT.bat), a spitter's chill (jolt) and its plug of ice (laid as the frost closes a cut, never in the tether's cells, Game.layUnder, factored out of updateHazards for it), a leech's drag, the wren's showing of a find (World.see), a puffling's pay (banked at once: the refinery's share of half a cache's lump and the cutter's of three gems, kept in fauna.paid for the books), the newt's lit cap (Game.lightCap, factored out of glow) and what is kept: S.fauna, made only when first written ({ pal, met, spent }, the dens spent within 600 s of play, 48 at the most), so a game that never met a creature saves as it did. With tame no deed is done and the creatures still show; with off no den wakes and nothing is drawn. The game calls it from begin (reset: everything goes but the pal), update (step, beside the hazards, timed as fauna; with a panel up only idle), finishDig (crushed: a pup fed, a roost woken), beside reelIfRound (wound: the tether as it lies round a puffling) and fly (drag); the drawing from render (draw under the dark, rider after the drill on whichever canvas it is drawn, signs over the dark, glow with the feel's) and light (lights: the moths, ahead of the lamp, light further than it). Its voices are voices in js/audio.js, through the sounds' gain: those that are the life of the place one in a second and a half at the most and none while anything that matters sounds, a warning whenever it comes. The finder's tables (FOUND, FINDER) are js/shop.js's now, where the wren reads them too. The broods are the last four of CREATURES (15 to 18, each with its brood, the direction of its lord): a den of kin whose middle is 1,600 cells out or more and within 300 of an axis rolls for one first (broodAt, the seed's hash at salt 809), half of them, and otherwise for its ground's roster as before, so nothing nearer the core moves; one scurries (scurry) as the newt creeps, but across open ground too and never back the way it came.
The lords at the ends are js/bosses.js (Bosses), which the creatures own as fauna.bosses and call through from reset, step, idle, crushed, wound, draw, signs, glow and lights, so the game asks it nothing either. BOSS is a row a lord: its frames' key, its name and title, the direction whose specimens it pays, its fossil, its verb, the order of its poses, and its figures by stage. What a lord is doing is kept in typed arrays made once, a slot a lord, and nothing it does in a frame makes an object; it has a generator of its own on the seed (salt 808, so the creatures' stream and every den roll are as they were) and never draws from Math.random; it reads only cells that have been seen (peek) and the band, and makes no piece of the world. Asleep it is four distances every half second (watch). Where it rises is spotNear: sixteen fixed ways round the drill from a place its generator picks, then every way at two cells, for a cell seen and open, inside the reach, near the lair and on a screen of 160 by 284 twenty pixels in; and no tell begins unless the lord and the ends of what it tells are there too (fair). Everything it does to the game is one of the creatures' deeds (hit with a stun, drag, plug, thaw, shard, blow, boss-met, beaten), so with the creatures tame a lord fights and draws and does nothing, and with them off it is never stepped. A blow is read and never laid: the wyrm's loop by winds (js/winds.js, the winding test reelIfRound and the creatures' wound share), the behemoth's ram, and the king's once his shards are spent, by how fast and which way the drill comes at it (ram), the mother's cut by crushed from finishDig, and the king's haul by settle, which takes a shard's cell gone open with a haul made since for a blow and one gone any other way for none. S.bosses is one number, the met bits and the beaten bits (0 east, 1 south, 2 west, 3 north, as DX and DY), written only by the deeds boss-met and beaten and by keepLore (the met bits alone), read as nothing where an old save has none, and not in a new game's save until a lord is met; no fight is saved, so a game loaded or a trip lost finds every lord asleep and whole. What a lord beaten pays is Game.lordBeaten (BOSS_LUMP, BOSS_SPEC and BOSS_PERK beside the shrines' figures), and its perk is in payOf; the kill and its pay are spoils until the drill is home, which revert takes back whole, the black box's share reckoned without them, and kept leaves out of a save made on the way. The king's shard is layShard: shardIn looks at every cell about him and then every cell of the narrowest screen, the ground about them peeked once into room and the cells the band runs through marked (banded), so a cell the deed would refuse under the tether is passed over, not asked. A lord's card and banner stand clear of the drill as everything called out across the screen does (bannerSplit, standAt, standLarge), a place come into while a lord's card is up waits (placeNext), and the last word waits for the last banner (the notice's wait). Nothing is laid for them: GEN stays 2, js/world.js knows nothing of them, and the 216 pieces of the world hash are as they were. The lords' voices are four more of the creatures' voices in js/audio.js (rumble, roar, groan, shard), each on its direction's own root (LORD_ROOT), and slain is among the stings; their names and titles are drawn large by fitLarge in js/drawing.js, on one line, two or small as the screen and the language allow.
What a cell can be and whose ground it lies in are two tables in js/world.js: K, the kinds, and BIOMES, a row for each ground. The numbers are what a saved game stores, so they never move. Everything that differs from one ground to another (its sheets, what its two ores are drawn from, which is what the lab knows them by (ores), its dark and its motes, what a haul of it pays, the thresholds it is laid by, its hazards, whether a cut in it freezes over) is in its row, and the game reads the row wherever it needs to know; a hazard does, pays and looks as its type does (lava, spore, spark), whatever ground it lies in. A new ground is a new row.
Whose ground a cell is, World.biomeAt settles by asking in a fixed order: a pocket, the home ground, which direction, a seam (where the two directions' borders meet on a diagonal: SEAMS), a deep flank (and, far out, the flank's own province, which may be its deep strain: flankProvince, DEEP_STRAINS), then the province the cell lies in (World.province: by the province's own hash, a generated cross, a strain of the direction or the direction's own ground). A strain is a row made from its direction's row with a few figures changed, and its tell is an extra the row names (TELLS: rivers, lanes, bubbles, grapes, strata), which kindAt lays at its place among the standard ground. What goes with a hazard goes wherever that hazard is laid, as a ground's first hazard or its second, by a figure of HAZARDS that a row may give for itself: with lava its rind of slag (rind), with charged crystals the crystals on the flanks of slate (ribs). World.biomeKnown is whose ground a cell is as far as is known (what a made piece holds, the seed elsewhere), which is what the map shows. What a sector of finds holds is one hash with its whole range allotted in FINDS.
Every piece of the world says which rules laid it. The world is at generation 2 (GEN), and keeps a byte a piece (genOf, read a cell at a time by genAt): every rule added with the seams (the seams and the flanks' provinces in biomeAt; the tells of the deep strains, the set pieces, the corner heralds, twin stones and fossils, the druse's geodes, the shrines and the builders' halls in kindAt) asks it of the cell, or of the piece its anchor lies in, and lays nothing in a piece of generation 1, so the world an older game saw is laid as it was, cell for cell (tools/world-hash.mjs holds its 96 lines as they were). A piece is saved with its own generation, and one saved without is generation 1's. As a game loads, the generations are set before anything judges whose world a piece is, and then each piece of generation 1 that a newer rule could lay otherwise (World.newer: reaching past 445 cells and within 204 of a diagonal, or past 790) is brought up once (World.migrate): a cell takes today's rules only where it is unseen and still holds what the old laid; the piece is then today's and saved so. Since a cell changes only where it is unseen, holds what the old rules lay and not what today's lay, each rule is asked only where it can matter (World.layWhere, which lays a cell as lay does): the old of the four shrines' hearts, today's of every unseen cell of the pieces brought up, and the old again only of the unseen cells that hold other than today's lay. That is a third to a half of the laying of both whole: a five-hour game of generation 1, 549 pieces brought up, lays 1.21 million cells where it laid 4.50, and on a phone six times slower is there to play in 3.6 seconds where it took 7.8. What is kept of the seed's records that a generation can change (the sectors' pockets, sites, slabs, finds and halls) is asked again whenever the generations are set (World.forget). The seams' and deep strains' noise and hash layers are recorded in js/world.js and in docs/CONTENT-PLAN.md (S3 AS BUILT, GENERATION 2); nothing new draws on Math.random.
A piece is laid the first time anything reads a cell of it, and that is mostly in the middle of a step: an outline walked or followed (isle, follow), what a cut would free in fast flight, a cell seen. Laying one costs a phone six to ten milliseconds, more the first time a sector's records are worked out, and two in one frame were enough to miss it. So after a frame whose step and drawing took under AHEAD_UNDER ms (8), js/main.js has the world lay ahead (World.ahead): AHEAD_ROWS rows (8, about a tenth of a millisecond on a desktop, and on a phone six times slower 1.2 ms on the average and 5 to 8 at the most) of the nearest piece to the drill, by its box, that lies within AHEAD_REACH cells (96) of it each way and is neither made nor held whole. The rows go into bytes held aside, AHEAD_MOST places of them (24, 192 KB) made once, the furthest let go when every place is taken; and when the piece is made, lay gives up the bytes held and lays only the rows that were left. A held piece is not the world's: it is not in chunks, not counted in made, never seen and never saved, so what the world holds and when, frame for frame, is what it was without, and so is all that the creatures, the feel, the finder and the chart read of it. Nor can it hold other ground than lay would: its rows are laid by the same rules (layRows) with the slab lay would ask about (here, asked as the piece is begun), every record of the seed's that a cell asks for (a sector's pocket, site, slab, hall or find, a province) is worked out the same whoever asks first, and every piece held is let go whenever the seed or a generation may change, in forget, which reset, a game loaded and migrate pass through; nothing is laid ahead while a game is being loaded (loading), and the frames that lay it begin only once a saved game is loaded or a new one claimed. Only the counts kept for tests of slabs, sites and halls not laid (refused, unsited, unhalled, tried) may go up sooner, and nothing in the game reads them; no test lays ahead but the two that hold it. Over 150 minutes of the long pilot on world 7 (tools/long-play.mjs, laying ahead after every frame) the step laid ground in 56 frames where it had in 416, more than a piece's worth in 27 where in 120, and 6,360 rows in all where 38,528, for 2.2 times the laying in all: a piece laid ahead and let go before it was made is laid again. A phone that slow has the time to spare seldom, its drawing alone taking some 10 ms a frame: flying north through ground never made at six times a desktop's slowness (tools/bench.mjs frame --scene fly --cpu 6), the step laid ground in 13 frames of 600 where it did in 19 and 2,112 rows where 2,688, and the longest frame, where seventeen pieces are made at once for outlines walked far beyond AHEAD_REACH, is as long as it was.
Everything above is made by hand; one rule makes the rest out of it. crossRow(host, donor, structure) builds sixty rows at load, at numbers that never move (128 to 187): the host direction's row (its thresholds, floor, dark, motes, plain ore and own hazard), a rich ore that pays the donor's gems (gemB), a stone of the pair's own (<noun>B of the ores sheet, outlined as the donor's ores are; the donor's sheet is still itemsB) and the donor's trait at six tenths (its hazard as the row's second, or the north's freeze), and one structure, which is a strain's tell (TELLS) or tangle's caves. Nothing in the game knows a cross from any other ground: it reads the row. What is hand-made of each pair is its sheet of rock (art/tiles.mjs: cross, built with the art, never tinted at run time), its name, its colours, and the eye's verdict in CROSS_OK; a pair switched off there gives its provinces back to the host's own ground. The share of provinces that are crosses rises from none at CROSS_FROM (500 cells out) to CROSS_MOST (0.35), and no deep flank or home ground is ever one.
What each ground has in its caves is its row's too: decor, the set of pieces of art/decor.mjs its caves are furnished with (a cross's decor2, its donor's pieces in its own colours, mixed in), and air, what its motes are drawn as. js/decor.js says what a cell has (decorAt, markAt) from the cell, the rock beside it and seedless hashes of where it is, and only of cells the seed left open (natural: no tunnel, slab's crack or wreck's hollow); Game.paint draws it into the pieces of ground with the floors, so it costs a frame nothing, and asks the world what the seed laid in a cell once while the piece is kept. A piece that glows is written down as it is painted, and Game.light lays a halo over the dark for each in view and lets the nearest dozen light the cave a little. game.decorOf(i) is what a cell shows, and an icicle in a cell in game.fallen is not drawn.
A keystone slab lies in whatever ground is there. World.slabIn(sx, sy) says what slab a sector of 144 cells holds, once, and keeps the answer; World.slabCell says what a slab makes of a cell (open crack or joint, key, its own ground, its collar), and kindAt lays the slab's ground and its collar as the ground of the place with no caves in it, since a cave would split the slab into parts no key holds. A slab is laid only where it is sound: its keys join it to the collar, its crack goes right round, and the ground beyond the collar runs on (World.slab). The keys' ways are worked out with no sine (heading). World.meetsPocket is the one test that keeps slabs, and finds, out of pockets.
A pocket is a row of the table like any ground (numbers 32 to 63), whose pocket says what it is: its shape, the directions it is found in and how far out, its radius, its mineral and what a cell of that pays, its special cell. World.zoneOf(sx, sy) says what pocket a sector of 128 cells holds, once, and keeps the answer: four sectors hold the heralds, each direction's first pocket, 165 cells out in every world; of the rest half try one, all of it inside the sector, and of the kinds that may lie there the one whose own hash for the sector is largest, so that a kind made later takes few sectors from the others. A pocket's cells are its own before any other rule of biomeAt, and kindAt asks nothing of them but the pocket's shape (POCKET_SHAPES): no find, no slab, no hazard, and in the game nothing grows back there. The hive's shape is whole chambers, so its edge is the chambers' own and its outside wall is unbroken; its doors are laid so that no wall is ever cut off by them. Nothing in the game knows a hive: it reads the row. K.MINERAL is whatever the row says its mineral is, drawn from the minerals sheet, and K.NODE its special cell (a stalk), which only cuts quicker than anything else.
A drift is laid on a grid of squares seven cells across with its middle at a corner of four: a boulder to a square at the most, in the middle of it, so the lanes are three cells wide; the four squares round the middle always hold one, and of the rest fewer the bigger the drift (boulders), as an ash flat has fewer tektites to a cell the bigger it is (tektites), so that what a pocket holds grows with its radius and not with its area. Two things in the game are the drift's, both read from its row. Its twist: a boulder is loose ground like any other and is known as loose from first sight, but the frame the drill comes into a drift every boulder that stands there is entered in the books of loose ground at once, seen or not (Game.driftIn, which asks the cells, not the pocket's record), and once the drill is out and they are off the screen they are taken out again, but for one the tether lies against (Game.driftsOut), so the books do not grow for every drift crossed; a boulder left out is found again as any island is. Its chain: payOf multiplies the mineral's lump by a fifth more for each haul made within CHAIN seconds before, to double. The ash flat's one thing is its row's dig: ground that cuts in under PLOUGH (three tenths) of the usual time is ploughed, which is to say that pushing into it does not break the drill's run and does not draw the drill square on to the block, and ore cut into there says CRUSHED once a second at the most.
What the late levels and the new rows do is the game's, each behind a level no recorded flight is flown at (the bit's sixth and on, a fitting's second, the flywheel and the live catch above nothing, a lamp at all, the black box's third), so every flight and pilot written before plays as it did. The bit's plough is PLOUGH_BIT, the most a cut may take at each of its levels to be ploughed, asked by Game.ploughs of plain ground only (ploughable: the kinds a rare hazard may open, in no pocket and no part of a find as the world laid it, World.findAt); the time a ploughed cut has left in its last frame is the drill's carry into the next cell, a frame's at the most. The bellows quench round RING2, the twenty-four cells within two, made once, and only those of it that are not the four sides (RING2_FAR) are held to the reach and out of a pocket; the graft asks veined where a cloud's moss closes, as the frost does, and within; the capacitor's charge is Game.charge, set by zap and spent in finishDig through shatters(x, y, true) and openShattered, which the arc's own slate goes through too, so what they open goes to changed and the north's frost with the rest of the cut. The flywheel's run is Game.spin, made once, paid by SPIN_STEP a haul at each level, and kept apart from the chain a drift's aerolite pays for; the live catch asks Game.alive of the bell, fumarole and lodestone awake; both are in payOf, which says spin and live with the rest. The lamp's light is Game.lampSees, 64 rays out of a table made once for each reach it has (RAYS), asked when the drill comes into another cell, each going on through open ground and showing the four cells beside every open cell it crosses through World.seeCell, the one cell of World.see, so what it lights is called out as what the scan sees is. The black box's lore is keepLore, from the state the wreck threw away into the one gone back to. Nothing of it draws from Math.random or makes anything in a frame.
Specimens are S.spec, a count for each direction. Game.payOf says what a haul's mineral gives, by the cell and never multiplied, to the direction of the pocket's record; the haul banks it. What a pocket may pay is a budget, 3.5 seconds of income for each cell of its radius and about a dozen specimens at radius 14, and tools/zone-budget.mjs counts every kind against it.
A rare hazard is one kind, K.RARE (28), whose type is its ground's direction (RARE[row.kin]: bell, vent, worm, lodestone), so hazOf, hazAt and gemKin answer for it as for any hazard; no ground can name a rare type as its own hazard. Where they lie, World.siteOf(sx, sy) says, once, for a sector of 144 cells centred on a corner of the slabs' grid: a slab's cells lie 18 cells or more inside its own sector, and a site's middle is within 11 of the corner and reaches 6 at most, so no site ever meets a slab and placement never asks one. A sector holds a site where its hash is under the share its middle's ground earns (a deep flank, a cross, the far ground past 1,500 cells, or plain ground whose sixteen points at 20 and 40 cells are all that ground), and where it is clear of pockets, finds, wrecks and relics, with the same direction seven cells to every side and its heart on solid ground; the four heralds are tried in every world. kindAt lays a site's shape (SITE_SHAPES) after the caves and only where the cell is still solid, and a shape never opens a cell, so nothing outside a site moves. In the game, everything a rare does is one of three things: it opens plain ground (CRUSH: never a key, a cache, a prism or a pocket, and never past the reach) and tells the books once; it trades two solid cells' kinds and changes nothing loose (the worm's step, the lodestone's pull: Game.swap); or it leaves a cut to the frost to close (the bell's ring, through the frost's own guards). Its knocks go through hit, and its timers are stepped by updateHazards, so they stand still while a panel is open.
What a haul pays is worked out in one place, Game.payOf(cells, extra), which changes nothing: the haul asks it and does as it says, and anything that shows a worth beforehand asks the same function. What a cut would free is asked of World.freed(cells, limit, open) with everything else the cut would open taken as open too (Game.foresee(i, also)).
The music is made in js/audio.js as every sound is, with no file. Each ground's piece is a score, a row of figures (SCORES: its tempo and metre, its scale and the note it stands on, its chords, a motif of a bar, the instruments and the patterns they play, and a form of four-bar phrases, the motif, an answer and a rest), which scoreOf(row) finds by the ground's name. A strain's score is its direction's with a twist, and a cross's is made by one rule from three, as its row is: its host's piece, its structure's twist (HOLLOW tangle's, CRAZED serac's, FROTHY scoria's, BANDED redrock's) and the donor's own voice (sign), written in degrees of the scale so that it plays in the host's key. A phrase is lifted whole by octaves into its voice's room, so it keeps its shape and a phone's speaker can play it. The band is made once, twenty-six nodes, and a timer twice a second posts its notes ahead on the audio clock: a change of ground makes no node, waits until the drill has stayed, lets what was posted play out, and changes a waveform only on a voice that is silent. test/regress/sound-scores.mjs holds every ground to a piece of its own and every score to its bounds, and test/regress/sound-layers.mjs holds the band to its rules.
It is a static site: serve the folder with any web server and open index.html.
python -m http.server 4791The site deployed is built from it, into a folder of its own: tools/build-dist.mjs <outdir> copies what a browser loads (index.html, manifest.webmanifest, css/, js/, assets/, media/; nothing a page links to lies anywhere else), runs each module of js/ through esbuild's transform on its own, whitespace and comments out and nothing else (1.19 MB of source, 384 KB gzipped, becomes 566 KB, 192 gzipped; with charset: 'utf8', so js/words.js keeps its Cyrillic and Chinese as they are), and not bundled, so that each module is a file index.html can ask for; writes assets/atlas.json compact (each sheet's frames as a list of names, the sheet's own name off the front of each, and one flat list of rectangles; an animation of every frame in order as all: 107 KB gzipped becomes 24), which js/atlas.js (expandAtlas) makes again into the very object the art build wrote, which is the one the repository keeps, for the art build, the tools and the tests; and writes into index.html a preload of every sheet's image the atlas names, made from it, since the game asks for them only once the modules have run and the atlas has been read. --check plays the built modules with the compact atlas (test/smoke.mjs, s6-feel, s7-fit in a folder of its own beside the repository's test/). esbuild is not in the repository: --esbuild (or TB_ESBUILD) names its package's folder, and the workflows install esbuild@0.20.2 with --no-save --no-package-lock into a folder of the runner's own; .github/workflows/static.yml plays test/smoke.mjs, builds dist/ with --check and gives Pages that, and itch.yml pushes the same build.
node tools/build-dist.mjs dist --esbuild ../NeonVoyage/node_modules/esbuild --checkindex.html asks at once for every module js/main.js imports, directly or through another (test/regress/t-page-preload.mjs holds its list to the import graph, so a module added, renamed or no longer imported fails it until the list says so), and its one inline script asks for js/words.js where the language chosen is Russian or Mandarin, by js/lang.js's own rule, which the test holds it to. A player coming back has a game in local storage: js/main.js then makes the game blank (hasSave), which draws its seed as a new game does but lays no world of its own for restore to throw away, and restore begins that new world after all wherever it finds no game to go on with (test/regress/h-blank-boot.mjs; test/regress/t-main-boot.mjs runs js/main.js to hold that it asks for it). That saves the making of the game, 55 to 80 ms on a phone four to six times slower than a desktop; the boot's end, its third frame, moves by no more than runs of it vary by, so that is all it is known to save. The world thrown away bumped its counts of changes (World.stirred, Game.version), so a game made blank has them lower for good; all that reads them asks only whether they have moved since it last looked.
node test/all.mjsThe game runs with no browser under test/harness.mjs. test/all.mjs runs every script in test/regress/ (each fails while the defect it was written for is there), test/smoke.mjs, which plays every direction unattended, and the tether fuzz test/rope-fuzz.mjs: about two minutes, one line a test. Among the regress scripts, i-fuzz-play.mjs plays the whole game at random (throws, the shop) and checks the tether, the books of loose ground, the hauls and the money after every frame. Tests of speed count work, not time: game.swept (cells the tether's sweeps look at) and the world's sides, followed and made (outline sides walked, cells followed, pieces of world made). test/frame-time.mjs times a frame over the fuzz's flight. test/slab-moat.mjs looks at keystone slabs as they lie in the cells of 200 worlds: each has a crack a drill can fly right round, hangs by its keys alone, and is held by the world. c6-hive-play.mjs plays three amber hives with no hand on them, c7-drift-play.mjs three pumice drifts and c7-ash-play.mjs two ash flats, and s4-budget.mjs holds every kind of pocket to what it may pay. c7-drift-rubble.mjs counts the rubble of a whole drift on its way home at once. The world a seed makes must stay the world it made: w-same-world.mjs compares it cell for cell with a plain reading of the ground (the first one, with what has been laid on purpose since written into it as plainly), and s1-world-hash.mjs holds 96 pieces of it to the hashes in test/world-hash.txt (node tools/world-hash.mjs --check names the pieces that moved; --write records them again, for a change that lays new ground on purpose). Three of the regress scripts are about the tools below: t-shot-stage.mjs runs js/main.js on a stand-in page, with and without ?shot, t-shot-tool.mjs takes real pictures where a browser is installed, and t-field.mjs checks a map against the world. m-ground-worth.mjs holds the rule the prices rest on: nothing laid since may move the mean worth of a solid cell, in any ring round the core, more than 15 in a hundred from what the first nine grounds alone gave. t-long-play.mjs plays the first six minutes of a new game with a pilot that buys and cuts as a player does, with the tether, the money and every haul looked at; then with the pilot shopping in every tab, and with the hull taking harm and a wreck staged after a minute, after which the pilot must go out again and earn. hull-mender.mjs holds the mender slower than the shield at every level, so that blows that land the moment each shield runs out wreck a hull of two pips at its last level, and a single knock is still mended within a few seconds. s6-feel.mjs plays two games side by side, one with its feel taken out and the other with a quirk made to come every second, and holds them the same frame by frame (the drill, the tether, the draws from Math.random, the pieces of world made, the grit); it also holds the feel to its bounds in every ground and sees each quirk come. s7-fit.mjs does the same for what the upgrades show: two games side by side on one world and one stream of Math.random, every row at or near its last level and the tether's own canvas there, one with the fitter stood in for by one that does nothing, through three flights (cutting and flying fast, a spore's drive through lava with the skin and an arc taken in, a wreck) and purchases at the core between them, are the same frame by frame; the fitter stays within its pools; every level of every row draws something the level before does not, pixel for pixel (every WORKS fitting plain and lit at each of its levels, and the live catch and the trophy line on the station), and every frame it draws is in the atlas; and buying is a moment in the shop and a fitting at the core once it is shut, a show for a milestone and plain for the rest, with one sound and never a relic's. test/frame-time.mjs --draw draws every frame too, with every row at its last level, and says what each part of the drawing took (fit is what the upgrades show). h-shop-fit.mjs draws the shop at 160x284 and 180x320 for every tab, every level of every row, needs met and unmet, poor and rich, and STATS at its fullest (and on two screens held sideways too short for it in one column, where it has two), and holds every line inside its panel and no glyph on another or on an icon, a Latin tab's prices all on one line, the shop in the frame of the bar's panel, and a Mandarin row's two lines LINE_MIN apart on the shortest rows; h-call-clear.mjs, in each language, stages every kind of banner (a relic's, a shrine's, GEOLOGY HAPPENED! with every gem, a prism's, the named finds, a lord's), with CORE RESTORED, a ground's card, a word, the worth of a thing seen first and under every ground's plate, on screens 160 by 284, 180 by 320, 206 by 458, 640 by 360 and 456 by 256, and holds nothing of any of them within DRILL_CLEAR of the drill, no line of one on another, a large title too wide for one line on two at size 2, and every glyph of them in a box the tether's canvas is cut away under (callText, cutBox: a line under the drill is read across a gap in the tether running down from it, not struck through); and the moment of every level bought, its value stamped twice the size only where that fits, and STATS's REFINERY line at every level of the refinery and the gem cutter. h-goal.mjs holds the goal: chosen, moved on by a purchase, pinned by a refused tap, drawn along the bar as far as what is banked, READY at home, and never saved. h-volume-hearts.mjs holds the menu's two bars of loudness (a step a tap, the name off and back on, each kept apart, the music off at nothing, a game kept muted loaded with both at nothing) and the hull drawn as hearts, pixel for pixel by colour as the pictures of them lie on the screen, a half heart last on a hull of an odd number, no rim on a heart's colour, a picture a heart and none made again for a look made already. m-map-redrawn.mjs holds the map in the corner, each time it is drawn again in a flight by ground never made with every row at its last, and the chart, to the pictures drawn from nothing with nothing the world keeps of the seed's answers, the seed asked nothing the second time the same ground is drawn and asked again after forget and for a piece whose generation has changed, no more than 256 pieces' worth kept, and the list of pockets visited never counted a frame. r-made-once.mjs flies the fuzz's flight drawn with every row at its last and holds the lists of particles, rings, motes, effects, popups, clouds and jets, the probe, where the drill and the dark are drawn, the box of the ropes, the tether's rope and its points, and each haul's two ropes with their points to the same objects from the first frame to the last; every part timed by name to a function of as many arguments as it takes, giving back and throwing what it does; and a loose block cut across and then down, two cells at a time, to pieces that are each one piece of what is left, all of it, and no cell in two; and the rubble jostled by the grid of its box, never by the table of chains. r-work-kept.mjs flies that flight for 200 turns in a node of its own with a young generation too large to be swept (tools/bench/alloc-child.mjs) and holds the bytes update and render allocate a frame under what they were brought down to, with four or five in a hundred to spare (measured with node 24: another V8 may need them measured again), and where a key of the lab lies (js/worth.js) found once a key. h-text-lines.mjs draws the lab, every tab of the shop, the menu, STATS and the chart for twenty frames at two sizes and holds that no glyph of the font is drawn on the game's canvas, every line a picture from the pages, and a still panel making next to no line after its first frame. t-main-boot.mjs runs js/main.js on the stand-in page with its clock stood in for: a game to go on with makes the game blank, none or an older save does not, and a frame with time to spare lays AHEAD_ROWS rows ahead while one of AHEAD_UNDER ms or one while a game is loaded lays none. A test that reads the text drawn a glyph at a time wraps the drawImage it lays on a canvas in asGlyphs (test/regress/lib/glyphs.mjs), which turns each picture of a line back into the calls of the glyphs it holds. m-map-lens.mjs holds the corner map's lens at seven cells a pixel and the finder's pip on the rim, and h-shop-price.mjs reads the price of REACH's own row where the shop draws it. m-map-gone.mjs holds a hollow geode, a cache and a prism hauled away unseen gone from the finder's marks, and a pocket's pip gone with its ground hauled from outside. h-old-save.mjs loads a game saved before pockets, slabs and provinces were made (test/fixtures/save-4293f7c.json.gz, which test/fixtures/old-save.mjs made with that build) and holds what an old save is promised: its ground as it was, nothing marked that it does not have, the new world beyond. w-ahead-bytes.mjs lays ahead every piece tools/world-hash.mjs records and a grid over worlds 7, 19 and 23 by both generations' rules, eight rows at a time and the rest as each is made, and holds them to the bytes lay lays; it holds the nearest piece begun first, AHEAD_MOST held at the most in bytes made once, nothing held after reset, forget, migrate or an old save loaded, and js/main.js the one thing in the game that lays ahead. w-migrate-where.mjs holds layWhere to lay on every cell it lays, under skip masks of every density, for the pieces tools/world-hash.mjs records and the pieces along the seams and round the shrines by both generations' rules, and brings up a small save of generation 1 made in it (cells seen, cut, poured into and of another ground unseen, one shrine's heart seen, one changed, one as laid) with migrate and with both generations laid whole as it was done before, and holds the two worlds the same, lay not called and the cells laid no more than the hearts, the unseen cells and those of them that differ from today's. w-ahead-play.mjs plays the long pilot for 45 minutes with its creatures twice, laying ahead after every frame and not, and holds the pieces made the same after every frame, every piece's cells and what was seen and the game the same at the end, and the step laying ground in a third of the frames or fewer.
The creatures have three. s8-fauna.mjs flies two games side by side on one world and one stream of Math.random in the north's ground, the south's, the west's, the east's and a cross, one with no creatures and one with them tame and a creature of every kind set down beside the drill in turn, each foe woken, every frame drawn, and holds them the same frame by frame (the drill, the tether, the ground's version, the particles, rings, effects, popups, shake, flash, the hull, the grit, all that is saved, the draws from Math.random and the pieces of world made); holds the creatures to their bounds and their places (no den within forty cells, no foe within two hundred and fifty, in a pocket or in the home ground, each kind only in its grounds, on four worlds, from the seed alone); and holds the fauna sheet to its rules (every frame there and ringed in its outline, only a foe's with the foe's eye in it, no colour near one of what pays or hurts where it lives, and the foe's eye kept well away from all of those, from every glow and mote there and from every colour of the tether). s8-fauna-play.mjs stages each job with the hull taking its knocks and the tether checked every frame: the pal made by three crushes and not by two, saved, loaded, lost with a trip, riding and coming down, warning as a foe's warning begins, pulling a leech off; moths lighting ahead of the lamp what it does not, gathering at a bell; the wren leading to a cache nobody has seen, and never to one the finder marks; a loop round a puffling catching it and paying what it should, a loop beside it not; the newt's caps; a careful pass that never wakes bats or a spitter and a throw that does, the bats' warning before any knock, its line fixed, one pip a waking and each bat warning once in it on four worlds, a ram at rest; a leech dropping only on a slow drill, its drag, its ways off and a ram as it stiffens; a spitter's swell, its chill with no pip and none within the shield, no plug under the tether or beside the drill, and no swell at a drill it cannot see; a name only for a creature on the screen, and kept on it; and the lantern grotto's creatures kept in it while nothing else, the pal neither, goes in. With the trophy line bought it holds a bat clinging after its swoop caught for two of the south's specimens, its whole roost gone and the den spent, a loop before the line was bought or far from the bat catching nothing and a second loop paying nothing; a leech come down to the floor paying the west's and a sagging spitter the north's; a bat set down in the west's tunnel paying the west's, as its ground says; and no bat, leech or spitter caught in any state but at rest, nor a tame one at all. s8-fauna.mjs buys the line in three of its five grounds and puts a loop round every foe at rest beside the drill in the tame game, and the two games stay the same. s8-fauna-budget.mjs counts the dens of pufflings on eight worlds out to 1,500 cells against the caches there: they pay under a sixth of what caches pay, and caught as often as they come back, under a fiftieth of what cutting earns; and every foe's den caught once against every cell of pocket mineral there: at the line's first level the north's and the west's trophies are under a quarter of their pockets and the south's (whose roosts are many) under a half, at its last every direction's under all its pockets, and one north den caught every ten minutes at the last level pays under a fifth of what the shop asks of the north's specimens in an hour. The harness leaves the creatures out unless { fauna: true } is asked for, as it leaves the hull's harm out: the flights and pilots written before there were creatures are of ground nobody else moves in, and a bat's knock or a leech's drag would turn each from the flight it was written as; s7-fit.mjs leaves them out too, to try the fitter alone. The play fuzz's fauna flag plays with them, and sets one down beside the drill every six seconds, a foe woken (test/all.mjs flies it in the north's own ground, loess, sporefall, magma, serac and the home ground); sound-strict.mjs plays them through its strict audio, sound-layers.mjs holds their voices as it holds every sound, t-shot-stage.mjs the picture tool's fauna and faunabook, and test/frame-time.mjs --fauna keeps sixteen about the drill (what is drawn of them is the part fauna).
The lords have four of their own, and each fails on the game before it. s9-bosses.mjs holds the lairs on their axes, 2,210 cells out with the leash's 36 inside the last reach; stages each lord at its lair on worlds 7 and 11 and plays it through every state, its verb put to it at every rest, in two games side by side, one with no creatures and one with them tame, and holds them the same frame by frame (the drill, the band, the ground and its version, the hull, the grit, all that is saved, the draws from Math.random and the pieces of world made); holds no Math.random in it, its arrays made once and the worst frame's work bounded, nothing drawn with no sheet and every state drawn with one; holds, at 160 by 284, every tell begun on the screen, every hit 0.7 seconds and more after its tell and three after the last, the first stage's attacks 4.5 seconds apart and each lord's trick only from its stage; and each lord risen within five seconds of waking on worlds 1, 7, 11, 23 and 123456. s9-boss-play.mjs plays each verb in a room at its lair: the wyrm's loop as it rests a blow, flown round it and round the rock behind it too, and none while it rises, tells, breathes, swims or is hurt, nor too far, nor left wound from before; the behemoth's ram as it rests a blow and none at 2.5 cells a second, from 1.8 cells or flying off it, its charge through a pillar of rock hitting a drill in its lane once and changing no cell, a drill stepped off the lane after it locks not hit, and its charge back; the mother's anchor cut as she rests a blow, and a cell beside it, or her anchor cut in any other state or after her rest, not, her hold at six tenths, her drinks and every way off her, no anchor on vault, bedrock or unseen rock, and her second tendril; the king's shard a loose cell laid as it should be, laid in a bore three cells high cut along his axis with him risen three cells from the drill either side of it, and, fought on the ground as the seed laid it on ten worlds by a thumb that keeps out of his ring, flies round a shard to haul it and rams only where his rest takes a ram, beaten each time, a shard shed in every fight and at least 24 of the 30 blows hauls (they were 3), hauled home a blow that pays its ore's grit as a haul, hauled as he tells a blow and as he is hurt or yields not, cut or flown into none and another shed at his next rest, his rest taking a ram with his six spent and where none can be laid, and his pulse hitting a drill inside the ring once and not one outside it; and for every lord three blows to one beaten that pays, is saved and is never fought again, its perk alone and with both its shrines, a wreck mid-fight and after the kill with and without the black box (which keeps its share of the trip's own grit and none of the lump), a game saved on the way home after the kill loaded with the lord met and not beaten and nothing it paid, and saved once home with all of it, a place come into while its name is up waiting for it, the leash, 600 seconds of its fight laying nothing under the tether or beside a free drill with the tether sound every frame, and an old save meeting it tell for tell as a new game does. s9-boss-budget.mjs holds each lord's twelve specimens to no more than a quarter of what the shop asks of its direction's (158, 112, 52 and 72, summed from js/shop.js), the four lords' grit at the refinery's last level under a hundredth of the late shop's, and the east's specimens the king's alone and once. s9-boss-art.mjs holds the bosses sheet: every frame js/bosses.js asks for and no other, 48 pixels square, the west's the east's turned, each ringed in its direction's outline with the foes' eye only at its eyes, each lord lit more as it tells than as it rests, no colour of it near one of what pays or hurts within 40 cells of its lair on 32 worlds, and each lord staged at its lair drawn from the frame its state names. test/regress/lib/lords.mjs lands the verbs as the tests do (ramInto, cutAt, haulAt, and dodge). Taught besides: hull-blackbox.mjs the lords met kept and a lord beaten not; sound-layers.mjs the four voices and the sting, each lord's of layers of its own, the rumble giving way where many layers sound and the rest not; l-lang.mjs every new row in the three languages, each lord's card as it wakes and its banner beaten set large within a screen 160 wide and drawn nowhere on the drill at 160 by 284 and 180 by 320, no figure of its pay popped up raw, and the last word drawn only once the last banner has gone, and STATS with lords met; h-shop-fit.mjs STATS at its fullest with three lords beaten, still 20 lines (the mender said on the hull's line), and the eighteen kinds of creature; t-shot-stage.mjs a lord staged telling and resting, the lords' book and a brood; i-fuzz-play.mjs a lord raised among what its six flights with the creatures set down; s8-fauna.mjs the broods set down with the rest, a second sweep of the axes from 1,500 to 2,300 cells, and each brood scurrying outward past the drill and gone; and test/frame-time.mjs --fauna a lord at its last stage kept beside the drill (lords, lordUp). The 60-minute long pilot on world 7 (node tools/long-play.mjs --seed 7 --minutes 60 --all --fauna --hull) prints what it printed before the lords, line for line but the time it took: in that hour it goes 348 cells out, and nothing nearer than 1,600 cells changed.
The late levels and the rows that came with them have one each, and each fails on the game before it. d-bit-plough.mjs pushes the drill ten seconds along strips of soft and dense rock at each of the bit's last four levels and holds each a fifteenth faster than the one before where it ploughs more, and MK5 to the thousandth of a cell as it was; asks which ground each level ploughs, and that a cache, a hazard, a key, a pocket's mineral and a geode's shell are never ploughed; ploughs slate at MK8 with the run kept and stops at a cache; says CRUSHED once a second at the most; and flies a loop freehand through soft rock at MK6 that is cut and hauled with the tether sound every frame. c2-bellows.mjs wakes lava in a rind of slag two deep at the end of the first reach (the four sides turn at the skin's first level, all the rind within reach at its second, none past the reach or in a pocket), and lava just past the reach whose four sides turn at both levels, one past the reach and one in a pocket; c1-moss-graft.mjs bursts a pod beside ore the world laid, beside ore laid by hand and past the tether's reach; c2-capacitor.mjs cuts after an arc taken in (the dense rock and slate round it shatter, a cache, a pocket's slate and rock past the reach do not, a block let go is in the books at once), with no arc, eight seconds after one, and at the first level; s2-flywheel.mjs hauls blocks three seconds apart and holds the run's pay to the hundredth at each level, a small haul, a wait, a knock, a game begun and gone back, and a dozen cells at the most against one great loop; c9-live-catch.mjs wakes each of the four rare hazards at each level and holds its lump asleep, awake and cooling, and its haul's name; s5-lamp-sees.mjs stands the drill at a cavern a hundred cells out with a prism eleven cells across it, seen and called out with a lamp and not without, and not through a wall, the scan's reach as it was; and hull-blackbox.mjs loses a trip with the hull on at the box's third level and its second, and hauls the nearest pocket and loses the trip four times over at its last, the pocket whole again each time and not a specimen kept. i-fuzz-play.mjs (plough) and e-hazard-fuzz.mjs (plough) each fly once with the bit's last level and the diamond tip, in the east's own ground.
The rare hazards have two of their own. c9-rare-laid.mjs counts the sites of worlds 1 to 8 (30 to 60 a world, four of each type at least, a herald of each), holds every cell within a site's reach to its shape, and compares hundreds of pieces with a world that has no sites: nothing outside a site moved, and no slab. c9-rare-play.mjs stages each of the four and plays it: the bell's fuse, its whole ring opened in one telling of the books, the disc loose and the crack frozen shut on time; the fumarole's three pulses out of the side cut, its steel and what its bore woke; the glowworm's steps (the books sound after every one, never out of its leash or its ground, fenced by a cut, fleeing, biting, caught for twice); the lodestone's warned pulls, its ore all kept and gathered; the knocks, the pay asleep, the cut into each, a frame drawn of every state. The play fuzz's wake flag wakes the rare nearest its start every twelve seconds (test/all.mjs flies it beside one of each type on two worlds), and the hazard fuzz's rare mode plants rare hazards where it planted the others.
The lab has two. l-analysis.mjs holds what the bit crushes to a sample and a level of worth, and the lab's notes to a list that scrolls: a drag moves it as far as the finger went and chooses nothing, a touch that does not move chooses the line under it (read where the lines are drawn, the scroll rounded to a pixel) and one that stops the list running chooses nothing, a flick runs on and comes to rest within two seconds inside the ends and does not run on again when its tab comes back, the wheel scrolls it, the keys walk it and show what they choose (a key held to fly with as it opened does not), two things of a part not yet known are never drawn or spoken of alike, one sample is said as one, and on the narrowest phone every name, place, head and note fits the lines it is drawn in. l-ores.mjs holds the eighty-nine: the first forty-eight in the parts of their directions, a seam's two, its deep seam's two and its shrine's stone in its corner's, a cross's rich ore in its host's part counting toward its donor, the parts in order round with the sun, each drawn from a frame the atlas has; every ground's ore drawn as what the lab knows it by; a strain's, a deep flank's, a deep seam's and a cross's ores paying to the unit what the cell paid before they had names of their own, and a cross's rich ore paid for what is known of its donor's; a hazard and a key sampled and an inert hazard not; an old save's samples counted; the gem cutter's needs as play set them, 8, 18, 28 and 36, and its late level's 43 asking for some of the far ground, and LIVE CATCH's 30 and 42; and the art of the new ores, read from the sheet as built (and kept clear of every colour of lava's slag, dull as it is). l-stones.mjs holds the ancient stone: round every shrine on worlds 7 and 11 and in four halls of each, every cell of vault the shrine or the hall laid is its stone and every other is none, drawn and known as the lab has it, paying with the lab empty what vault paid and a hundredth a level more once analysed, and a sample when cut. What a thing is worth, said where it is met, has two. w-worth-seen.mjs, in each language, holds a thing of the second tier or the third shown once a game when a cell of it first comes into view, with worth.js's own line, its tier's rim and a ring from the cell; never one of the first tier, nor before the first haul, nor run or drawn under a panel or at the core; one at a time with three waiting, what came past them met again when next seen and a cell cut meanwhile passed over; how much more its ground pays (steel in the magma HERE x2, a crystal in a kilnstone cross HERE +25%); an older save taking what its lab has analysed as met, a newer keeping what it had and a trip lost keeping what was met on it; every such panel, known or not, at every level of the winch, and every banner's line of what paid most, within 160 x 284 and 180 x 320, over the bar and clear of the lowest the drill is drawn; and six hundred frames of it making nothing. w-worth-haul.mjs holds the banner's line: sunstone among rock named, known and not, violet quartz at home by the home ground's figure and a rime bell's lump about so; cinder ore, a light haul, a relic's and a shrine's named nothing; two cells of cinder ore and one of sunstone, which pay the same, naming sunstone and three of cinder ore nothing; and no line where the banner has three under its gems already.
The seams and the deep have their own, and each fails on the game before them. h-gen-save.mjs loads a game saved by the game at commit 93ecb92, flown out along the north-east diagonal to 905 cells (test/fixtures/save-93ecb92-ne.json.gz; test/fixtures/old-save.mjs --north-east says how), and holds that every cell it saw or changed is as saved, every other cell a newer rule can reach is what generation 2 lays (the seam, 33,753 cells of it), pieces no newer rule reaches stay generation 1's, a piece judged for its world is judged by its own generation, the dens and the finder agree with the ground as it lies (a den on ground the old game saw is of that ground, not the seam the seed lays there now), a second load brings up nothing, it plays, and a save that saw where a shrine's heart now lies has no shrine there, then or loaded again. s1-world-hash.mjs holds the 96 lines of generation 1 as they were and 120 of generation 2 (GEN2_PLACES: each diagonal from 500 to 2,000 cells, the flanks at 1,500 and 2,000, the shrines), and that both generations lay the same near the core; w-same-world.mjs writes every new rule out plainly and reads the world at both. c10-seams-laid.mjs holds the seams where the rule lays them, a tenth of the ground or so from 600 cells, and each set piece standing in rock that holds it, clear of every site (on worlds 257, 789, 1,054 and 1,789 one lay over a corner's herald, and on 1,789 took its heart); c10-flank-provinces.mjs the deep strains in their flanks' provinces, none under 1,050, with their tells and their air; c10-deep-finds.mjs twin stones from 800 and fossils from 1,200, laid whole (none under a slab, a wreck, a vault or a shrine) and paid; c10-shrines.mjs the four shrines, kept clear of as a relic is, and their pay and their gift; c10-halls.mjs the builders' halls as written, held by the rock round them along a side of their collar (two on worlds 2 and 11 met it only at a corner, and hung in their caverns), clear of everything else, thicker toward the relics, and the dark deeper there. c10-seam-react.mjs stages each seam's reaction and the cross of the same two traits, which must not react; c10-currents.mjs flies through the glacier's wind and the caldera's heat and holds where the drill lands, and that a light thumb against the air still goes its way; c10-fault-zip.mjs cuts a mycelium thread and holds the zip to its rate, its most, the reach and the heap; m-druse-ring.mjs hauls a druse geode and holds the geodes that ring, and that they push no other mark off a full map; d-chart-unseen.mjs holds the chart's floor of light, grain, borders and marks, each seam told from every ground beside it and each ground's colour its rock's (cinderfen was a step from ember, glassdune from lode, and obsidian violet over amber sand); sound-layers.mjs that the wind blows what was last asked for once the sound comes back. m-ground-worth.mjs holds every ring within fifteen in a hundred of the world with grounds 0 to 8 alone, with the new stages counted (node tools/ground-worth.mjs --seeds 4: the most a whole ring moves is +3.7 in a hundred, at 700 cells, and +3.3 at 2,000, so WORTH stays), and each seam and deep strain has a play fuzz and a rope fuzz of its own in i-fuzz-play.mjs and test/rope-fuzz.mjs. e-corner-gems.mjs holds the corners' gems: each deep seam's rich ore pays its corner's and nothing else, no other ground pays one, a save of five places loads with nine, a haul of them is banked whole and never NaN, the eight levels ask for them as written and are refused without them and bought with them, a shrine pays its 10,000 uncut and makes its corner's a quarter more, the bar shows them where it should, and the station's colours of them are the screen's; c10-shrines.mjs the shrine's part too, works.mjs the eight prices, and h-shop-fit.mjs the eight levels short of their gems and not, the footer's note and the bar with the corners' gems (and all eight at 330 pixels) in every language at its widest figures.
Speed is measured with one tool, tools/bench.mjs, and not with the tests: it needs a browser and minutes. It runs two copies of the game against each other, A (a git ref, HEAD if not given, archived into a folder of its own) and B (a ref or a folder, the working tree if not given), interleaved over rounds with the order flipped every other round, each run in a headless Edge or Chrome started afresh, and prints each figure as its median and range for A and for B and the difference: load the first load as GitHub Pages serves it (HTTP/2 over TLS, gzip, ETags) under CPU and network throttling, cold, warm or revalidated, with the first frame counted from navigation and from the first request too, and a run thrown away and run again where the browser waited over 100 ms after the page's HTML before asking for anything (it does at times, by up to a second and a half); save a long saved game's boot from the real database, by its parts; frame staged scenes at DPR 3, update and render, the bytes a frame allocates and the GCs, and fly, a flight through ground never made, with the pieces made a frame, and in every scene the rows of world laid in the step and laid ahead (as js/main.js lays them); step the frame-time flight's update in the page; alloc the exact bytes update and render allocate a frame and the canvas calls by method and part, with no browser; and shots named sets of pictures, A twice and B once with Math.random seeded, compared pixel by pixel. Its head says how each is taken.
node tools/bench.mjs load --net 4g --cpu 4 --rounds 3
node tools/bench.mjs save --save long480.json.gz --cpu 6
node tools/bench.mjs frame --scene core,cave,lab,shop,fly --cpu 4
node tools/bench.mjs step --cpu 6 --fauna
node tools/bench.mjs alloc
node tools/bench.mjs shots --a master --set allnode tools/shot.mjs out.png --at 0,-300
node tools/shot.mjs out.png --at 0,-300 --size 1200x1200 --zoom 8 --lit
node tools/field.mjs map.png --at 0,-300 --size 800
node tools/strains.mjs --where 7
node tools/strains.mjs
node tools/crosses.mjs --where 7
node tools/crosses.mjs --share 40
node tools/slabs.mjs --where 7
node tools/slab-play.mjs --seed 7
node tools/shot.mjs glow.png --at 3,52 --key --frames 50 --size 720x720 --zoom 2
node tools/shot.mjs cave.png --at -316,131 --cave --met --frames 120
node tools/zone-budget.mjs
node tools/zone-budget.mjs --where 7
node tools/hive-play.mjs --seed 7 --hive 3
node tools/shot.mjs hive.png --at -205,-14 --pocket --met --haul 1 --frames 24
node tools/drift-play.mjs --seed 7 --drift 12
node tools/drift-play.mjs --drift 25 --burst 0.3
node tools/ash-play.mjs --seed 7 --flat 1 --loop 0.62
node tools/shot.mjs drift.png --at 14,-165 --pocket --met --haul 1 --frames 24
node tools/shot.mjs quake.png --at 0,150 --met --feel quake --frames 20
node tools/ground-worth.mjs --seeds 8 --rows
node tools/long-play.mjs --seed 7 --minutes 40
node tools/sites.mjs
node tools/sites.mjs --where 7
node tools/shot.mjs bell.png --at 141,-576 --wake bell --frames 76
node tools/shot.mjs ladder.png --ladder --size 960x720
node tools/shot.mjs book.png --orebook --size 600x900 --zoom 2 --frames 2
node tools/shot.mjs lab.png --at 0,0 --lab 20 --labsel seracB --size 320x568 --frames 4
node tools/shot.mjs core-max.png --at 0,0 --lv max --frames 120 --size 360x360
node tools/shot.mjs panel.png --at 0,0 --lv drill.2 --shop rig --buy drill --frames 8
node tools/shot.mjs fit.png --at 0,0 --lv drill.1 --buy drill --frames 45
node tools/shot.mjs grand.png --at 0,0 --lv max,drill.6 --buy drill --frames 40
node tools/shot.mjs cut.png --cave --at 0,-300 --lv max --steer 1,0 --frames 40
node tools/shot.mjs arc.png --at 0,-300 --lv max --fire arccoil --frames 8
node tools/shot.mjs tether.png --at 0,-300 --reach 9 --lv tether.9 --frames 120
node tools/dens.mjs
node tools/dens.mjs --where 7 --kind bat
node tools/shot.mjs book.png --faunabook --size 360x660 --zoom 2 --frames 2
node tools/shot.mjs pal.png --at -60,0 --fauna pup:ride --met --steer 1,0 --frames 80
node tools/shot.mjs bats.png --cave --at 129,276 --fauna bat:fuse --met --frames 36
node tools/shot.mjs spit.png --cave --at 132,-309 --fauna spitter:puff --met --frames 40
node tools/shot.mjs wyrm.png --fauna boss-n:tell --met --size 180x320 --frames 40
node tools/shot.mjs mother.png --fauna boss-w:rest:2 --met --size 320x568 --frames 20
node tools/shot.mjs lords.png --bossbook --size 520x280 --zoom 1 --frames 2
node tools/long-play.mjs --minutes 25 --fauna
node tools/long-play.mjs --seed 11 --minutes 180 --every 600 --all
node tools/long-play.mjs --minutes 60 --all --hull --fauna
node tools/chart.mjs chart.png --reach 9
node tools/chart.mjs before.png --reach 9 --tree <a checkout of an older commit>
node tools/field.mjs map.png --at 700,-700 --size 1200 --step 2 --gen 1
node tools/strains.mjs --halls 4What the upgrades show is staged with six more. --lv sets levels first: max every row at its last, late every row at its last before the late game's, id.n one row, in a list read left to right (--lv max,drill.6); a picture with levels has bought before, so its next purchase is not a game's first. --shop <tab> opens the shop at rig, works, map or core. --buy <id> buys that row's next level as a purchase does, with nothing asked for it and nothing saved: with --shop the shop's moment (--frames 8), and without, the shop opened, bought from and shut at once, so the part is fitted at the core (--frames 25 the motes coming in, 45 the part seated and turned, 70 its name). --steer x,y holds the thumb that way for every frame (the flame, the sparks, the bit hot). --fire <id> makes a power of what WORKS fits act at once: mender, arccoil, sporedrive, lavaskin (lava under the drill), diamond (steel ahead, to cut), blackbox (the drill wrecked) or flywheel (a run of quick hauls), and with --lv at a fitting's second level that level's act (the bit charged, moss healed, the bellows); or of what CORE builds, livecatch or trophy, its lamps lit (--frames 20); with --fauna bat:rest (or spitter:rest, leech:rest) and --fire trophy the foe set down at rest is caught as a loop round it would catch it. --grit n banks that much grit, so the goal's line along the bar has something to show. --ladder draws no world: every level of every row in rows, labelled, by the game's own drawing. The lab's notes are staged with three more: --lab all (everything analysed), --lab n (the first n of the list) or --lab none opens them, --labsel chooses a thing by its frame or its name (seracB, FLUORITE) and shows it, and --scroll px scrolls the list on from there. --orebook draws no world either: each ground that has ore of its own, its name, a patch of its rock with its dense rock, its two ores and its hazard, and its two ores three times the size.
The creatures are staged with two more. --fauna <kind>[:state] sets one down (with the rest of its den) a few cells from the drill once the view is uncovered, in the nearest place that suits it: beetle, pup, moth, spitter, salamander, bat, frog, puff, leech, skink, wren, bee, jelly or newt, or a lord's brood, rimeling, emberling, mireling or lodeling; and :state puts it in one of its own: pup:pal, pup:ride, bat:fuse (the roost woken: --frames 36 the warning, 58 the swoop), spitter:puff, leech:latched, puff:caught, wren:peck, and bat:rest, spitter:rest or leech:rest (a foe at rest, as the trophy line catches it). With --met every creature is taken as met, so no name comes up over it. --cave --at stands the drill where a creature lives (node tools/dens.mjs --where 7 lists each kind's dens, nearest first, with a place to stand; with no --where it counts them by ring on eight worlds). --faunabook draws no world: each creature in each of its poses on its own ground's rock, by name, as FRIEND, FOE or KIN. docs/shots/fauna-*.png are pictures of each of them where it lives, on world 7.
The lords are staged by --fauna too: --fauna boss-<d>[:state[:stage]], d the lord's direction (e, s, w or n), raises it where it would rise near the drill, in one of its states (tell, act, rest, hurt, yield, sunk, gone or idle, the default; icefall for the north, return for the south, second and latch for the west, blink for the east) at stage 1 to 3; with no --at the drill stands eight cells short of its lair on its axis, and --met takes the lords as met too, so no name comes up. --bossbook draws no world: each lord in each of its poses on the rock at its lair, by name and title. --lang ru or zh has the game speak Russian or Mandarin, to see a lord's card or banner in it. docs/shots/lord-*.png are each lord on world 7 at 180 by 320, as a narrow phone sees it: lord-wyrm.png telling its breath (--fauna boss-n:tell --met --size 180x320 --frames 40), lord-behemoth.png telling its lane (boss-s:tell, 40 frames), lord-mother.png resting taut, her tendril anchored in the ringed cell to be cut (boss-w:rest, 20 frames), and lord-king.png telling his ring (boss-e:tell, 40 frames).
tools/sites.mjs counts the rare hazards' sites in worlds 1 to 8, by type and by why each lies where it does (herald, deep flank, cross, far, plain), and what stood against the rest; --where 7 lists that world's nearest first, with a place beside each to stand. tools/shot.mjs --wake <type> wakes the nearest hazard of that type (a rare one as a cut beside it would, so a fumarole fires out of the side nearest the drill): a bell's fuse (30), its toll and the loose disc (76), the frost closing (300); a fumarole's rumble (30), its jet (75); a glowworm uncoiling (20) and swimming (100); a lodestone humming (20) and pulling (62).
docs/shots/ holds a picture of each place made in the content build, as tools/shot.mjs took it on world 7: the eight strains, a cross of each pair, the three pockets from inside, a prism, the first keystone slab and a cobble field; and cave-*.png, a cave of each of the nine first grounds, two strains, two crosses and two pockets with what grows in it, under its dark. The seams are there where each begins (hoarstone.png, --at 336,-336 --zoom 2 --met; glassdune.png 338,354; cinderfen.png -340,358; frostfen.png -331,-331), a cave of each deep seam (cave-skarn.png 707,-707, cave-obsidian.png 640,730, cave-tarpit.png -640,730, cave-muskeg.png -707,-707, each --cave --met) and of each deep strain (cave-glacier.png -608,-832, cave-caldera.png -640,1312, cave-mycelium.png -1328,-816, cave-druse.png 1088,-496), the north-east's shrine at the top left of shrine.png (--at 999,-980 --zoom 2 --size 560x560 --met --lit) and a builders' hall by the north's relic on world 1 (hall.png, --seed 1 --at 29,-1720 --zoom 3 --size 480x720 --met --lit). worth-seen.png is lava's worth come up in the magma, where it pays twice (--at 698,850 --lv scanner.4 --size 320x568 --frames 30), and worth-haul.png a haul's banner naming the amber that paid most in it (--at -150,0 --pocket --haul 3 --size 320x568 --frames 20). chart-950.png and chart-2300.png are the chart of a new game on world 7 at those reaches, as tools/chart.mjs draws it, and chart-2300-before.png the same drawn by the game at commit 93ecb92, before the seams: each diagonal quarter one flat dark slab of a deep flank, where now the seams run down the diagonals between flanks broken into provinces, each told from the next.
tools/shot.mjs takes a picture of the game with nobody at the browser. It serves this folder on a free loopback port, opens the game in an installed Edge or Chrome run headless on a profile of its own (no saved game is read or written), steps it and saves a PNG of the page; the browser and the server are closed whatever happens, and the last line printed is the path written. The picture is of a fresh world on --seed (7), with the drill --at dx,dy cells from the core: east and south are counted up, so 300 cells north is 0,-300. Away from the core the drill stands in a small room at the end of a tunnel carved from the core, as the tether fuzz carves a far start, and all the ground in view is uncovered. --reach is the tether's level (the first that gets there, if not given), --size the page in CSS pixels (360x640, about 11 x 20 cells), --zoom n shows n times as many cells across in the same picture, --frames how long the game is stepped first (180: three seconds), and --lit leaves out the dark, which is what a zoomed picture of a whole province wants. The name of the ground the drill stands in comes up as the game begins to be stepped, with the names of what the view uncovered: --frames 20 catches them, and --met takes every ground as met before, so the name is on its plate and not across the screen. --wake wakes the hazard nearest the drill as a cut beside it would, so that what it does can be photographed at the moment --frames picks: lava woken (5), pouring and quenching its slag (120), set (900); a crystal's fuse lit (30), its arc (52), the rib it unzipped (420). --cave stands the drill in a natural cave of the ground at --at, the one within 40 cells with the most open ground against rock about it, at the end of a tunnel that stops short of it, so the cave is as the ground has it, with its own pieces. --feel <event> makes something of the ground's feel come at once: quake, gust, drip, creak, bubble, steam, trickle, stars, worm or crackle, or flies (the ground's fireflies about the drill), icicle or rime (the corners frosted over); --at 0,150 --feel quake --frames 20 catches the view shaking and grit falling. The same view opens by hand at index.html?shot&seed=7&at=0,-300&zoom=4&lit (js/shot.js); it is held still until tetherbore.resume() is typed in the console.
tools/sounds.mjs measures the sounds with nobody listening. Every sound is made in js/audio.js from oscillators and noise (there are no audio files), and so is the music: each ground's own piece over the bed, with a switch of its own (setMusic, isMusic) beside the mute. The tool loads that file in an installed Edge or Chrome run headless, with an offline audio context standing in for the live one, asks for each sound, the bursts (cuts faster than they can sound, a haul paid out, a run of six hauls, everything at once), a minute of the music, and each ground's piece alone (node tools/sounds.mjs "music: "), and prints for each its length, peak and level, whether it clips, how many nodes it made and what a call cost; --wav <folder> writes each as a WAV file to listen to, and --module <file> measures another file of sounds the same way. It fails if anything clips, a muted sound makes a node, a sound throws, the music makes a node as it plays, or a piece alone is not under the sounds or cannot be heard. Its rows include each of the sounds of the ground, near and at the edge of hearing, and a minute of each direction's feel over the music. test/regress/sound-layers.mjs holds the rules that need no browser: every gain from nothing to nothing, every source stopped, the least gap between sounds that come in bursts.
tools/chart.mjs needs no browser either: it draws the chart of the whole reach (the MAP tab of the bar's panel) as a new game has it, the reach about the core with the marks over it, three pixels to the chart's one, on any seed and reach and at either generation of the world (--gen 1); with --tree it draws the chart of the game in another checkout, by that checkout's own code, to see what a change did to it.
tools/field.mjs needs no browser: it asks the world whose ground each cell is and draws a square of it, a pixel a cell, in the colours of the game's map, with the core a white dot. --size 4800 --step 4 is the whole world; --ground darkens open ground. It prints each ground in the square with the box it lies in and the cell of it nearest the middle, which is a place to send tools/shot.mjs.
tools/strains.mjs counts what the strains are made of, in the middle of real provinces on eight seeds: how much of each is open, soft, dense, ore, slate, hazard and ice beside its direction's own ground, the size of its tell (how wide the ice runs, how big the bubbles and the bunches of pods, how long the beds of slate), how much slag lies round the lava, how many crystals stand beside slate and how much slate one arc among them takes, and what a cell and a second of cutting pay beside the direction's own. A strain's row is tuned by it and by the eye, and test/regress/c1-tells.mjs holds the figures. With --where 7 it says where on that seed a province of each strain lies nearest the core, with the tether level that reaches it: a place for a picture or for a fuzz flight to start.
tools/crosses.mjs does the same for the generated ground: each of the twelve pairs and each structure beside the host's own ground, with how thick the donor's hazard lies beside the donor's own (test/regress/c3-cross-laid.mjs holds the figures). --share 40 says how much of the ground is generated at each distance from the core, in cells and in provinces, beside what the rule gives, and the least that is hand-made on any one seed; --worth 12 what a solid cell pays at each distance with the crosses and without them; --where 7 where a province of each pair and each structure lies.
tools/slabs.mjs counts keystone slabs and cobble fields over a few worlds (how many sectors hold one, what stood against the rest, how big they are) and checks each as it lies in the world's cells; --where 7 lists that world's, nearest first, with a place beside each to send a picture or a fuzz flight. tools/slab-play.mjs plays one with no hand on it: from the core to the crack by the quickest way, one lap through each key, and the haul, with what the frame of the last key cost in work (--slab n picks another slab, --staged starts beside it, --winch 0 plays it over the winch's load; --field n flies a lap of a cobble field's joints instead). tools/shot.mjs --key stands the drill at the last key of the slab nearest --at, pushing into it: --frames 50 shows the cut half made with its glow on the whole slab, 180 the slab hanging loose.
tools/zone-budget.mjs counts pockets against their budget, making none of the world: 200 of each kind at radii drawn as the world draws them, with what the mean one holds, pays and gives in specimens beside what it may, by band of radius and as a herald (a kind whose mineral pays more in a chain of hauls is counted at the most it can pay, every boulder hauled in one chain), and then how many pockets lie within each reach in a few worlds and how much of the ground they cover. --lump and --spec try other figures before a row is changed, --play n plays hives to say how long a nugget takes, and --where 7 lists that world's pockets, nearest first, with a place beside each to stand. tools/hive-play.mjs plays an amber hive with no hand on it: in through the wax to each chamber that holds a nugget, once round its lane through the stalk, and the haul, with what each nugget took and paid. tools/shot.mjs --pocket stands the drill inside the pocket nearest --at, in the lane beside the nugget at a hive's middle with no room carved (--frames 30 catches its name; with --met, its plate), and --haul n brings that many nuggets home from there: one is a light haul, two have a banner, and either brings out the count of specimens. In a drift the drill stands among the four boulders round its middle and --haul brings whole boulders home; in an ash flat, which has no open cell, it stands in the middle cell at the end of a way one cell wide.
tools/drift-play.mjs plays a pumice drift with no hand on it: in at the end of a tunnel, once round each boulder down the middle of the lanes, with what each haul brought, what its lump was multiplied by and how long after the haul before it came. With --burst 0.3 it plays nothing and hauls every boulder of the drift, one every 0.3 seconds, and counts the rubble until the last bit is home: how many hauls and bits were on their way at once, how many moves of a bit a frame took, and how long the frames were. tools/ash-play.mjs ploughs one round loop through an ash flat, steered by a heading that turns all the way and never by cells, and says what the loop cut, crushed and brought home, how fast it went and whether the drill's run was ever broken (--loop is the loop's radius as a share of the flat's, --drill the bit).
tools/ground-worth.mjs is the check on the model the prices are worked out from (WORTH in js/shop.js: what an average cell of ground is worth). It asks the same 20,000 cells in each of six rings round the core and each direction, on a few worlds, six times over: of the world with the first nine grounds alone, then with the rind of slag and the crystals on slate, the strains, the crosses, the slabs and the pockets added one at a time. It prints the mean worth of a solid cell at each of the six and how far the world as it is has moved from the first; the same by area, with what a cache and a pocket's mineral pay as a lump counted in; and, with --rows, whose ground each ring is. If a ring moves more than 15 in a hundred, WORTH is to be set to the sampled figure and every price follows; it has not (the most is 4). --against <a checkout> asks the same cells of another build's world, to see that the tool's before is what that build laid.
tools/long-play.mjs plays a whole game from a new one with no hand on it, to see how the money goes. At the core it buys whatever can be bought, the reach first; a trip goes out along one of twelve spokes, the directions in turn or the one whose gems a level is waiting for (for a corner's gems, once the reach is past 1,000, one of four lines along its diagonal 35 and 104 cells to either side, from the deep seam's edge out: none on the diagonal, where the shrine stands), as far out as a level whose grit and gems are in hand asks the drill to have been (from 700 cells), and cuts a square ring round a block the size the prices assume (a third of the reach across, 48 cells at the most), flies it shut, and does that up to three times before it comes home; it rings the first keystone slab once the reach goes round it, and every fourth trip a pocket it has not been into. It prints a line every two minutes (what is owned, banked and earned, beside the model's income), when each level was bought and each ground, pocket and find first met, the hauls that paid most, how long grit lay banked with nothing it could buy (and whether that was for gems, specimens or what must be found: it was nearly always the last, where the line said gems), and how long each level waited on gems alone and on what reach; the three longest stretches with nothing bought; what was earned a second in each ten minutes over the model's income for the reach then; BLOCKERS, the seconds each level was on offer with its grit in hand and could not be bought, by what was short first (gems west, spec north, need out); and what had been found at the end (specimens, cells out, kinds, places, wreck parts, relics, creatures met). By itself it shops in the first tab alone, as the tests have always flown it; --all shops in all four tabs, which are most of what is spent from twenty minutes on, and is the pilot a balance is judged by (three hours of the game take about a minute). --hull lets the hull take harm: a drill wrecked goes back to the last docking with the game, and the pilot takes its thumb off, goes back for the ground the lost trip had cut (it stands again) and goes out again. A drill reeled home by the tether on its way out is let go for a frame and thrown again, as a thumb lifted and pressed; held on, it stood at the core to the end of the game. Forty minutes of the game take about twenty seconds, and the same seed plays the same game.
art/tiles.mjs and art/sprites.mjs hold the Pixelbolt sources: autotile terrains for every kind of ground, and hand-drawn recipes for the ore, the hazards, the drill, the core and the interface; ores holds the strains' and the deep flanks' own ores, two to a ground, each in its direction's colours and ringed in its direction's outline, kept by test/regress/l-ores.mjs apart from one another and from what hurts there, and seen against their own rock. fauna holds the creatures, a frame a pose facing east and the same turned west (-l), each ringed in its direction's outline as the ores are; a friend's eye is plain white with a dark pupil, and a foe's is the one colour nothing else is drawn in, #ff2bd6, which the build writes beside the frames (eyes) for the game to lay again over the dark, as it writes the pixels a creature lights (lamps: the newt's spots) for its light to lie on them; test/regress/s8-fauna.mjs holds it. art/bosses.mjs holds the lords, the bosses sheet: each lord 48 pixels square, three cells, in each of its nine poses facing east and turned west, painted into rows of keys from a few shapes (oval, poly, line, curve, tube, rubble) at fixed numbers as the creatures' rows are written by hand, ringed in its direction's outline with the foes' eye for its eyes and nothing else, and its lamps (the king's crown, the behemoth's seam, the mother's spores, the wyrm's crest and throat) written beside the frames as the creatures' are; test/regress/s9-boss-art.mjs holds it. The drill has a bit for each of its eight levels (a longer cone for the last three) and a hot copy of each from gold on, a ram for each of six with four flames, plates for each of seven (each a shape and a metal of its own), and each fitting a lit copy (the mender a picture for each of its five levels, the lamp for each of its five); the core nine winches, each drawn a pixel at a time from where it lies about the middle; the scanner seven, each its own picture; and station what CORE builds on the station, a picture a level, with the glow of the well and the lamp's flare. Each part of the station has a colour of its own, outlined and lit from the top left as the core is, so that the station reads as so many machines: the refinery copper with gold bands, the cutter violet, the black box charcoal under yellow and black stripes, the live catch's jaws green on a steel arm, the trophy line's rail and barbs bone with red points, the dish teal. (The home-screen icon keeps the core as the first winch was first drawn.) Two more of Pixelbolt's presets, crest (its healing circle) and ward (its shield), are the fittings that are made a show of. art/decor.mjs holds what grows in each ground's caves (the decor and decor-x sheets, coloured from the ground's own floor and rock), the halos of what glows and the air's motes, with the rules they keep: no outline, no colour but a glow's brighter than the rock, nothing in the middle of a cell, and no colour near one of what pays or hurts in any ground it is drawn in, which test/regress/s6-decor.mjs holds against the sheets as built. The effects are Pixelbolt's shipped presets, and the text is Pixelbolt's pixel font, with Cyrillic capitals drawn in its manner and the Chinese characters the game says from Fusion Pixel Font (see Languages).
node art/build.mjs --pixelbolt <path to a Pixelbolt checkout>writes assets/*.png and assets/atlas.json, and art/recipes/*.json (each sheet's compiled recipe, to open with pixelbolt inspect).
See DESIGN.md for the original goal and pillars.