Zaytun Project

Games

Seventeen complete games written in Zaytun. All of them are finished, all of them are free software, and all of them are played entirely by reading and typing.

The Sundered Dawnstone

Genre: hand-authored adventure · Length: 38 rooms across six regions · Ending: one, with optional secrets

Eleven years ago a man called Malachar the Hollow walked up out of the sea caves, took the Dawnstone out of the altar on the south shore, and broke it into three pieces over his knee. Then he hid the pieces, climbed his tower, and sat down. He did not curse anyone or raise an army. He simply removed the thing that made the mornings, and waited for a whole country to get tired.

It has very nearly worked. You are not a knight, you have no sword and no plan, and you hold the specific and dangerous conviction — shared by exactly one person in Emberfall — that eleven years is long enough.

What is in it

Play The Sundered Dawnstone in your browser now — nothing to install.

The Sundered Dawnstone source and build instructions

The Undergaol

Genre: roguelike · Length: ten floors, generated fresh each run · Ending: permadeath, and a score

Nobody sentences anyone to the Undergaol any more. There is no need. The doors have not opened in four hundred years, and whatever is down there has had four hundred years to sort itself into an order. You are going down anyway, for the Heart of the Gaol, which is on floor ten.

This one is the counterweight to the others: no fixed map, no authored plot, and no way back up. It exists to prove the language can generate a world at runtime rather than only describe one written in advance — floors, chambers, monsters and loot are all rolled as you go.

What is in it

Play The Undergaol in your browser now — nothing to install.

The Undergaol source and build instructions

Beren and Lúthien: The Silmaril Quest

Genre: story game · Length: 43 rooms, 24 scenes, 20 speaking characters · Endings: six

A retelling of the tale from Tolkien's Silmarillion. It starts before the love story does: twelve outlaws on a moor in Dorthonion, an errand west that is the only reason you survive the night, and an orc-company at Rivil's Well carrying your father's ring on a cord. Then a mortal man crosses an enchanted border he should not have been able to cross, falls in love with the daughter of a king, and is sent to fetch a jewel out of the iron crown of the first and greatest of all evils — a price named by a father who thought he had found a way to say no that cost him nothing, and who has in fact just doomed his kingdom.

The unusual thing mechanically is that singing is the weapon. Three times in the story, a fight is not winnable and the only move on the board is to sing: against Sauron on his island, in the pit afterwards, and in front of Morgoth's throne. It is one author-defined verb whose meaning depends entirely on who is standing next to you.

What is in it

Play Beren and Lúthien in your browser now — nothing to install.

Beren and Lúthien source and build instructions

Ragnarök: The War at the End of the World

Genre: story game · Length: 30 rooms across six worlds, 17 scenes, 10 speaking characters · Endings: two

The Norse end of the world, played as Víðarr, the silent son of Odin — one of the few who is still standing when it is over. The gods know exactly what is coming and have known for an age; nobody in this story is surprised, and they intend to be there anyway.

You walk out of Asgard into a Midgard three winters deep, down a nine-night road to the shore of the dead, and onto a field a hundred leagues wide where every duel is a draw. Then your father is swallowed by a wolf, and it is your turn.

The central mechanic comes straight out of the myth. Snorri writes that Víðarr's shoe is made from every strip of leather anyone has ever trimmed off a shoe and thrown away — and that this is why you should throw yours away, to help the gods. So the game scatters ten such strips across the nine worlds, and you need seven of them worked into the shoe by the time you are standing in front of Fenrir. Sword blows do effectively nothing to him; the shoe is the answer, and a shoe that folds is a real ending.

What is in it

Play Ragnarök in your browser now — nothing to install.

Ragnarök source and build instructions

The Last Witness

Genre: detective mystery · Length: 49 locations, 16 speaking characters, 72 objects · Endings: seven

Elias Vale, seventy-one, parish historian, is found on the floor of his own archive with one wound to the left temple and a brass candlestick beside his hand. A fall, says the doctor. A threatening letter, says the drawer. Too tidy, says the only policeman in Ashcombe, who sent for you.

Every major witness tells a different version of that night, and four of them are lying. Two are lying about something that has nothing to do with the killing, and the game gives you the means to prove it — because a mystery that punishes you for suspecting a liar is not a mystery, it is a trick.

Underneath the murder is a mine that flooded in 1887, nineteen dead men, and a verdict that blamed one of them because he could not answer back.

What is in it

Play The Last Witness in your browser now — nothing to install.

The Last Witness source and build instructions

Anek Deep

Genre: science fiction, ability-gated descent · Length: 40 locations across seven zones, 67 objects, eight creatures · Endings: three

Forty years ago the Threnody Combine drilled eleven kilometres into a hollow moon looking for sylph-iron, and hit something that had been hollowing it out since before anything on your homeworld had a spine. They radioed up that they had found a lattice. Then, for thirty-nine years, nothing.

You are Sela Vaur. You reclaim things. The contract is four lines long, your lander is on the ice with a cracked drive coil, and your suit came down with none of its modules on it.

It is a Metroid in the structural sense rather than the decorative one. There are no levels: one map, connected from the first minute, and what stops you is not distance but capability. Every wall you cannot pass is a wall you will pass later with something you do not have yet.

What is in it

Play Anek Deep in your browser now — nothing to install.

Anek Deep source and build instructions

The Crooked Measure

Genre: shop simulation · Length: three locations, four goods, twelve days · Endings: four

You keep a general store you do not own. The guild holds a bond for a hundred and twenty coins with your name on it in somebody else's handwriting, and it falls due on the twelfth day. Rent is eight a day and the landlord does not wait.

There is nothing to fight and nothing to unlock. Hesper's cart is in the yard each morning with four things on it at prices that moved overnight; you buy by the crate, mark your goods up, and open the door. The game is what you stock, what you charge, and what the town comes to think of you for it.

It is the smallest game here and the least like the others: three rooms, one other person, and a great deal of arithmetic that you are doing rather than the engine.

What is in it

Play The Crooked Measure in your browser now — nothing to install.

The Crooked Measure source and build instructions

Beyond the Titanic

Genre: science fiction adventure · Length: 73 locations, 41 objects, 400 points · Endings: eight

April, 1912. The band is still playing, if you listen for it. You do not know yet what the rest of tonight is going to cost, and nobody on this ship does. Your goal is to survive it and, against every reasonable expectation, to find your way home.

What is under the ocean turns out to be under the ice, and under that is something that was never meant to be found by anyone from 1912. The way home runs through it.

This is a port of Scott Miller's Beyond the Titanic — Apogee Software, 1984, shareware in 1986, released under the GPL in 2009. The original is a Turbo Pascal program with its own 750-word parser and a room-and-message engine driven by flat binary files. The room graph, the puzzles, the creature, the time chair and the 1933 ending were traced out of that source and rebuilt; the parser is Zaytun's, because the two verb sets do not correspond.

What is in it

Play Beyond the Titanic in your browser now — nothing to install.

Beyond the Titanic source and build instructions

Ravenscar

Genre: survival horror · Length: 40 rooms over four floors, 15 creatures, 19 objects · Endings: five

You are in a shut-down asylum on a headland in bad weather. The gate closed behind you. The boat is at the bottom of the cliff, on the far side of forty rooms and everything still living in them.

It is difficult on purpose. The ammunition is finite and countable, most fights are not worth having, and the things in the house move whether you do or not — they hear you, they walk toward you a room at a time, and they do not stop at the door you came through.

What is in it

Play Ravenscar in your browser now — nothing to install.

Ravenscar source and build instructions

Deadfall

Genre: war · Length: 16 rooms, 16 attackers in four pushes, 10 objects · Endings: two

The section held this farm since Tuesday and there is one of you left. The column is coming out of the valley behind you and it needs until dark. That is the whole of the order, and there is nobody to give you another one.

You are not trying to kill sixteen men. You are trying to still be on this hill at nightfall, and then to get off it.

What is in it

Play Deadfall in your browser now — nothing to install.

Deadfall source and build instructions

The Word Road

Genre: teaching game · Length: 19 rooms across 17 stations, 98 drills, 18 objects · Ending: one, and a score out of 98

You have come off a boat with no English in you at all. Seventeen stations stand along the road inland and a city is at the end of it. At each one somebody wants one thing said properly before they will let you past, and nobody on this road speaks a word of anything else.

It is a game rather than a worksheet. The board at each station teaches one thing — the little words a and an, more than one, who he and they stand for, what happened yesterday — and the gatekeeper, the baker, the ferryman and the rest will not let you past until you can say it. The road is walked in order, and you may walk back down it whenever you want to read a board again.

What is in it

Play The Word Road in your browser now — nothing to install.

The Word Road source and build instructions

The Assay House

Genre: puzzle game · Length: eight rooms, five locked doors, 21 objects · Ending: one, and every door has to be opened to reach it

Eight rooms, five locked doors, and nothing behind any of them but a problem that has to actually be solved. No combat, no inventory to manage, nothing random.

The doors open in a fixed order, and each one wants a different kind of thinking: weighing, deduction, a cipher, a graph, and then a pair of problems that have been catching people out for a century. Nothing is hidden and nothing is a guess — everything you need is written on the walls of the room you are standing in.

What is in it

Play The Assay House in your browser now — nothing to install.

The Assay House source and build instructions

Quiz Night

Genre: quiz · Length: three subjects, three thousand questions, twelve a night · Endings: two

Three subjects, a thousand questions in each, and twelve of them are yours. Answer twelve in a row and you have won the night. Answer one of them wrongly and you have not.

Pick a subject and the questions come one at a time, drawn at random and never repeating inside a night. There is nothing to carry, nowhere to walk and nothing to lose but the run you are on, which makes it the shortest game here and the one most likely to be played twice.

What is in it

Play Quiz Night in your browser now — nothing to install.

Quiz Night source and build instructions

The Weather Gauge

Genre: naval warfare and trade · Length: 81 rooms, and a sea of fifty-six squares · Ending: two, and one of them needs none of the plot

You are the eleventh name on a list of nineteen being carried to Gallows Reach to hang. Four hours ago the wind died. A quarter of an hour ago something came alongside.

The weather gauge is the ship to windward: she chooses the range, and the other one takes what she is given. Everything else is downstream of that — what you dare attack, what you can outrun, how long a passage costs in salt beef, and whether the men who have not been paid since Candlemas are still calling you captain at the end of it.

What is in it

Play The Weather Gauge in your browser now — nothing to install.

The Weather Gauge source and build instructions

Angels Fifteen

Genre: air combat · Length: sixteen sorties, each its own sky and its own aeroplane · Ending: survive the nine weeks

You are twenty, you have sixty hours on Spitfires, and eleven days ago you had never seen a German aeroplane that was not in a recognition book. Sixteen times up, between the last week of August and the end of October, and no two of them the same sky or the same aeroplane.

You are not a better shot than the man in front of you and your aeroplane is not better than his. It is better at one thing and worse at another, and so is his, and the whole of the game is knowing which is which before he does.

What is in it

Play Angels Fifteen in your browser now — nothing to install.

Angels Fifteen source and build instructions

Alter Life

Genre: life simulation · Length: about eighty years, twelve months each · Ending: one, and it is the one everybody gets

You are handed a body, a family, a house with or without heating, and about eighty years. Nobody says anything else at all. The one thing the game asks before any of it happens is whose life this is: a girl's or a boy's.

Every year is twelve months and you decide what to do with them, and they do not all cost the same. There are never enough, and what you leave out is as much of the answer as what you put in — that is the whole design.

What is in it

Play Alter Life in your browser now — nothing to install.

Alter Life source and build instructions

STAR TREK

Genre: a transcription of a 1972 game · Length: thirty stardates, an eight-by-eight galaxy · Ending: destroy the fleet, or run out of time

A Klingon fleet is loose in Federation space and you have thirty stardates to destroy it. The galaxy is eight quadrants by eight; each quadrant is eight sectors by eight; you can see the one you are in, and the computer remembers whatever the long-range sensors caught on the way past.

Mike Mayfield wrote it on a Sigma 7 in 1971 and rewrote it for HP BASIC in October 1972. That rewrite went onto HP's program library tape, round the DECUS tapes, into David Ahl's collections, and from there into every language anybody has ever been bored in. It is the ancestor of the whole family.

What is in it

Play STAR TREK in your browser now — nothing to install.

STAR TREK source and build instructions

How to play any of them

In a browser, with nothing installed

Every game above has a Play link. It opens the game in the browser player and starts it. There is nothing to download, nothing to compile and no account, and nothing is uploaded: the page fetches the compiled game and runs it on your own machine, and keeps working with the network off once it has loaded.

Use Export save to copy a save out, and Import save to bring one back. A save string carries the state of the random number generator as well as the world, so a seeded game resumes exactly where it left off — and the same string works in the terminal player.

In a terminal

You need the compiler and the terminal player. The downloads page has both, ready built, for Linux, Windows and FreeBSD on 64-bit and 32-bit x86 and ARM. Then clone a game and compile it:

Compiling a game and playing it in a terminal.
git clone https://codeberg.org/zaytun-project/ragnarok
cd ragnarok
make          # compiles the game
make play     # plays it in the terminal

If you would rather build the toolchain from source, both repositories build with make and need a C compiler and nothing else — see getting started.

The commands

A few work in every game: movement — directions such as north, in and down — plus look, examine, wait, status, save, restore and help.

Everything else depends on the game, and help lists exactly what this one supports. It is not a fixed menu: the compiler works out what a game contains, so a game with no combat does not offer attack, and a game with nothing to open does not offer open. In practice you will meet take, drop, inventory, use, read, search, open, talk, ask someone about something, attack and equip — in the games that have something to use them on.

Games add verbs of their own on top, and help lists those too: sing in Beren and Lúthien; cobble, listen and mourn in Ragnarök; notebook, timeline, present and accuse in The Last Witness. You never have to guess what a particular game has added.