ParlorNet
Turn-based game server for any computer, old or new
Clients | Protocols | Browsers | Telnet programs | Docs | Source

Bandwidth budget (draft 0)

Target: playable at 2400 baud, comfortable from 14.4k, and not wasteful on LocalTalk-class links (about 20 KB/s). Few real machines are that limited: an Apple II with a serial card can run 19200 (1920 B/s), which is the practical floor to design around, with 2400 as the stretch.

LinkBytes/s80-byte line2000 bytes (full 80x25)
2400 baud (8N1)2400.33 s8.3 s
14.4 kbaud14400.06 s1.4 s
19200 baud19200.04 s1.0 s
LocalTalk, effective~20 000~0~0.1 s

On LocalTalk and TCP, round trips and bridge latency matter more than bytes; on serial, bytes are everything.

Budgets

Rough sizes (typed views, from the type specs)

GameFull viewTypical event
Backgammon~150 B10-20 B per step; a two-dice turn under 50 B
Grid Words~680 B geometry once, then ~600 B mid-gamea play: four events of 6-40 B (~80 B)
Cannon Fire, 72 columns~150 B for two players, ~270 B for eight100-250 B per shot (FIRE, TRJ, HIT, ZCH, DMG, TURN), ~20 B per move (MOVE)
Checkers 8x8~110 B10-25 B per step
Reversi 8x8~100-150 B10-50 B
Dots and Boxes~270 B on 5x5, ~530 B on 9x9 (M lines add 9-10 B per open line)10-30 B
Five in a Row~60 B at the start, ~200 B after 40 stones, at most ~900 B on 15x15 (~1430 B on 19x19)10-15 B; the winning move ~40 B
Naval Combat~60 B while placing (+ up to ~140 M placements of 6-8 B), at most ~450 B15-30 B
Mancala~60 BSOW up to ~55 B; others under 20 B
Rummy Tile Classic~120 B at the start, ~1000 B for a crowded table, under 2000 B worst case40-120 B per step; ending a turn 20-40 B

(From the type specs, docs/types/; Five in a Row's are measured with its plugin. Backgammon's and Reversi's are estimates.)

What serves this

This doc on GitHub


 These pages cover every ParlorNet server. | Source code | ParlorNet is free software.