NIGHT GAME

Night Game: baseball in the terminal, pitch by pitch, under the lights. Every game is a night game.

Every game is a night game.

Good evening, everybody, from Meridian Station, where it's the bottom of the 8th.

Out of uniform

Night Game is a baseball simulation for your terminal. It plays a full game, pitch by pitch, under the current major-league rules, and you manage one club from the bench. You never see a player's true ratings. You read the call, the box score, the dugout and the cards, as a manager would. It needs a terminal of 80 columns by 24 rows or more, works over SSH, and the keyboard does everything.

It is set in the universe of Ghost Boat, our submarine game set in space. The clubs come from its stations and moons, and every game is played at night, under the lights. Night Game is in development, under a working title, and not yet for sale. The rest of this page is from the press box.

Press box bulletin

POSTED BY THE OFFICIAL SCORER FOR THE PRESS, THE BOOTH AND THE CLUBS

Every game is a night game. Gates open at local dusk. First pitch when the lights are hot.

The scorer's rulings on hits and errors are final. Earned runs are figured by the book, and so is the save.

The booth calls every pitch. Listeners who fall asleep in the 7th will find the whole game in the log.

Ratings are not posted. Do not ask the scouts for them. Do not ask the scorer either.

The Official Scorer

On the air

The game comes to you as a radio call, one line every second and a half, at a pace a listener can follow. Each play is written in the margin in a scorer's shorthand: K for a strikeout, ꓘ for one looking, 6-3 for a grounder to short, F8 for a fly to center. Beside the call, the bases with each runner named, and the matchup: the batter against the pitcher, with today's lines and last season's.

  • Your pace. Space pauses the call. + and - run it from x1 to x16. The game never plays ahead of what you have heard.
  • The whole log. l opens every line of the call so far, each with its time on the air. :log Bunt them over. adds your own line, as the manager's, and keeps it in logbook.md.
  • The webcast. v draws the field instead: the fielders at their positions, the runners on their bases, the batter and the pitcher on either side.
  • A game beside your work. The title row shows the inning and the count, so the game reads at a glance from another pane. The terminal bell, if you want it, rings only when the manager is wanted, and at the end.
v turns the radio into the webcast: the field, the batter and the pitcher.

From the booth

Some of what the booth said in that game, the Calder's Reach Comets at the Meridian Station Riveters, seed 2026:

  • TOP 1STYusuf Pryce hits it a long way... and it's gone! A home run. Comets 3, Riveters 0.
  • BOTTOM 8THVillanueva doubles to center. S. Mendoza scores. D. Mendoza scores.
  • FINALAnd that's the ball game. Calder's Reach 9, Meridian Station 7.

From the bench

You manage in words. : opens the bench line, and the game takes an order the way a manager would give it: pinch 7 Ortega, warm Haldane, bring Haldane, bunt, squeeze, hit and run, steal 2, infield in, depth dp, ibb. An order that does not stand is refused in a sentence that says why. A pitching change waits for a capital B, so a slip of the finger never pulls your starter.

  • The bench coach. When the call has said what led to a decision, c puts the coach's suggestion on the line, for you to edit or send.
  • The pitching coach's word. Fresh, Tiring or Spent, beside the pitch count. That is all the coach will tell you.
  • The players' own calls. The batter and the catcher challenge a ball-strike call on their own judgement, as the rules now allow. You have no challenge to make. You watch, and you pick players with a good eye.
The bench line takes orders in words. Here a reliever is about to start warming.
d opens the dugout: who is on the mound and how tired, the bench, and who is warming.

The official scorer

After the final out, b opens the box score. The scorer keeps it by the rule book: earned runs, the winning and losing pitchers, the save, double plays, men left on base, and each club's ball-strike challenges, made and overturned. Every player has a card. Enter opens it, and f turns it over: today's line on the back, and a whole last season, played by the engine itself, not made up.

b after the final out: the box score, with the official scorer's earned runs and decisions.
Enter on a row opens the player's card.
f turns it over: today's line, and a whole last season, simulated.

By the numbers

Night Game is the sabermetric one among our games. Its statistics are computed exactly, by their published definitions, and its engine answers to the major leagues' own totals.

  • The pitch engine. Each plate appearance combines the batter, the pitcher and the league by the odds-ratio method, the general form of Bill James's log5. Nothing nudges a game or a season toward a total. The averages come out right across many games, and any one game is free to be strange.
  • Checked, ten thousand games at a time. A survey plays 10,000 games and checks 26 figures, from the strikeout rate to slugging, each against a band around the major leagues' recent seasons. Every one lands in its band.
  • A seed for every game. Every random number is drawn with ChaCha20, a stream cipher at its full twenty rounds. A game's seed plays the same game every time, on every computer: tell a friend "seed 2026" and they hear the same call. A game left to chance takes its seed from the clock.
  • Mixed clubs. As on Ghost Boat's crews, anyone plays any position. The game has no notion of a player's sex, and no rating or chance depends on one.

Out of the park

nightgame --records DIR plays a game and writes both clubs' records in formats that outlive the game: CSV for a spreadsheet, a Markdown page for each club, the same page in gemtext for a Gemini capsule, and a sheet of baseball cards in HTML, front beside back, that prints at card size and needs no network. These are the game's own files from seed 2026, as it wrote them:

Comets' cards · Riveters' cards
a card for every player, ready to print and cut out
club-cal.md · club-mer.md
each club's roster and records, in Markdown
club-cal.gmi · club-mer.gmi
the same pages in gemtext
batting.csv · pitching.csv · players.csv · clubs.csv
the data, as RFC 4180 CSV

Any terminal

Night Game wears Under the Lights by default: a night sky's navy, chalk-line white, infield dirt and outfield grass. T opens 38 colour themes, the ones all our games share: Ghost Boat's fleet colours, light themes for a bright room, and the terminals and home computers you grew up on. In 256 colours each theme keeps its contrast, and the two clubs never share a colour. Nerd Font icons are an option, off until you turn them on.

Star Shell, one of the light themes, for a bright room.
Breadbin, after a home computer many of us grew up on.

Every choice is kept for later games, on the q menu's Options page or by its own key. The keys are Ghost Boat's, as in every game on Ghost OS: no vim keys, M lists every action, ? lists the orders, F1 opens the manual.

The q menu's Options page. Every choice is kept for later games.
? lists every order and key, with h for the whole manual.

By ear

Baseball has been a game people listen to for a hundred years. nightgame --screen-reader draws no screen: it prints the call a line at a time, for your own screen reader, and takes your orders at a plain prompt. The start of seed 2026, as the game says it:

Night Game, in words for a screen reader.
Game 2026: the Calder's Reach Comets at the Meridian Station Riveters. You manage the home club, the Meridian Station Riveters.
Type help for the orders, look for the situation, and quit to stop. The call comes a line at a time.
Order: time 16
The call runs at x16.
Top of the 1st.
Here's the pitch, and it's hit.
Aiko Dovrak grounds out to shortstop. 1 out.
Ball one.
Here's the pitch, and it's hit.
Maren Wijeratne singles to left.
Called strike one.
Fouled off, strike two.
Fouled off.
Fouled off.
Ball, one and two.
Fouled off.
Here's the pitch, and it's inside.
Rohan Abernathy is hit by the pitch.
Ball one.
Called strike, one and one.
Here's the pitch, and it's hit.
Efua Lam grounds out to second base. 2 outs.
Fouled off, strike one.
Here's the pitch, and it's hit.
Yusuf Pryce hits it a long way... and it's gone! A home run. Comets 3, Riveters 0.
M. Wijeratne scores.
R. Abernathy scores.
Y. Pryce scores.
Fouled off, strike one.
Called strike two.
Ball, one and two.
Swinging strike three.
Imani Tanaka strikes out swinging. 3 outs.
Bottom of the 1st.
Ball one.
Fouled off, one and one.
Ball, two and one.
Fouled off, two and two.
Fouled off.
Ball, three and two.
Called strike three.
Kenji Eriksen strikes out looking. 1 out.
Ball one.
Here's the pitch, and it's hit.
Itzel Sesay grounds out to first base. 2 outs.
Here's the pitch, and it's hit.
Order: look
Bottom of the 1st, two out. The bases are empty. Amara Nakamura is at bat, the count 0 and 0. Yuna Zielinski is pitching, 10 pitches. Comets 3, Riveters 0, in the bottom of the 1st.

In the full screen, s turns on the computer's own voice, on Linux and on a Mac, and the call waits for it. Accessibility says what works today and what does not.

At the gate

In plain words: Night Game is in development, and not yet for sale. It will not be sold before Ghost Boat is finished. Its terms say what you may do with it: read and build the source, change your own copy, and share mods and fan works. The roadmap shows what it does now and what comes next: a front office, a whole league, and its seasons. Write to command@ghost-boat.net.

Papers in the press box

The manual
every flag, key and order, as the game shows it on F1
The roadmap
what is in the game now, what play-testers have, and what comes next
Accessibility
what works today for players who listen rather than look, and what does not
Terms of issue
what you may do with the game, its source and its files

Ghost Boat

If you like our games, check out Ghost Boat!