Find and play a game
Reading is the heart of Tersenet; programs are the optional part. A program is small, at most 1 MiB of memory, and runs on a tiny virtual machine of its own, Terse32, inside the window. It cannot read your files, and the window asks you before it publishes anything in your name.
The games that come with Tersenet
The launcher lists the programs built into the window. Two of them are games. Choose reef, Lumen Reef, and press Enter.
You fly a lamp skiff at the edge of the Reef, drawn in glowing wireframe lines, and hold it against what comes out of the deep: kites that weave and fire sparks, rolling wheels, diving prongs and, every fourth stage, a Warden, a cube in a ring of four nodes. Between swarms you steer between slabs and through gates of light. Aiming is flying: the arrow keys or W A S D move the sight, and the skiff goes where it points, which is also how you dodge. Space, Z or Ctrl fires, as does the mouse button (the pointer aims); a game controller works too, the left stick aiming and A firing. Fire, or Enter, starts a game. Firing heats the guns. P or Esc pauses, V switches the display style. The game ends when your shields are gone.
The other game is sparks:
SPARKS HIGH 0000 demo - Enter or Start to play
S P A R K S
Collect the sparks, avoid the sweepers.
Arrows or stick: turn. Up or A: thrust.
Enter or Start: play. Esc: quit.
Enter plays. Left and Right turn your craft, Up thrusts. Both games keep your high score on this computer, for the next time. Lumen Reef has sound. If you hear nothing, Tersenet says why in a notice at the bottom of the window; terse-host --hardware-check names the sound output it found. Ctrl+Alt+minus and Ctrl+Alt+plus change the volume, Ctrl+Alt+M mutes it, and the volume is remembered. F12 takes you back to the launcher while a game goes on in its tile; Enter on its line there, or a click on it, brings it back.
The other built-in programs are small tools and demonstrations: sketch draws with the mouse, holo shows 3D scenes (try scene 6, a cockpit), hello and fetch show what a program can do, reports gathers performance reports, and sheet is a small spreadsheet.
In sheet, a cell holds a number, text or a formula starting with =: arithmetic, references such as A1, ranges such as A1:A5, and SUM, AVERAGE, MIN, MAX, COUNT, ROUND, ABS and IF. Numbers are exact to four decimal places, so sums of money come out right. Ctrl+G shows a bar chart of the selection, Ctrl+L a line chart; Ctrl+S keeps the sheet on this computer for the next start, and Ctrl+P publishes it in your feed as a document, after the window asks you. A sheet document in a timeline (marked ◆), or a link to one, opens in sheet when you press Enter on it.
Games from other people
Anyone can publish a program in their feed, as they publish an article. There are three ways to come across one:
- In the launcher. Under FROM YOUR FEEDS it lists the programs of the feeds you follow, each with the name of the feed it came from. Enter starts one.
- In an article. Following a link to a program asks you first, in the bar at the top, naming the program and its publisher (here with the nickname from the last page), with Y/N at the end:
reader asks to start Sparks by Ana from choir 73670a…a9ee5f.
- By search.
terse find --programsand a name lists matching programs on your relays, with the publisher's key; subscribe to that feed, and the program is in your launcher.
Y starts it in a tile of its own. A program from someone you do not know is still boxed in: it sees only its own screen, keyboard and the few things the window lets it ask for, and every request to publish or to follow a feed comes to you as a prompt. Say N to anything you did not expect.
There is not much to find yet, though. Tersenet has no public relay and no catalogue of games, so for now you find programs the same way as feeds: through people you share a relay with.
Keeping your place
Machines in Tersenet can be saved whole. In the launcher, S saves the session: every program you have open, exactly where it is, mid-game included. The next time you start the window, the launcher's first line offers to bring it back:
Restore last session (1 program)
Enter restores it; D discards it. Nothing is saved without S, except what a program keeps for itself, such as the high score.
What you have now
The whole of Tersenet from the user's side: your own feed, other people's, and the programs. That is the end of the user guide. If you want to see how it works by building a piece yourself, the implementation guide starts with a reader: Make a reader.
The launcher, sessions and every prompt are in Using the shell; publishing a program of your own is in Running and publishing a program.