--- name: hnefatafl-visitors description: The Hnefatafl visitors report — who is at the table right now, who came today and how far each game got, and today's traffic. Use when Eric asks who has been playing, about new players or visitors, "anyone playing?", or wants a traffic report. --- # Hnefatafl visitors One command, one screen, printed by the droplet. Read it for Eric like a host glancing over the hall. ## Gather ssh root@159.203.115.252 hnefatafl-visitors.sh [YYYY-MM-DD] Default is today, UTC; Eric is in US Eastern, so an evening at his desk spills into the next UTC day. Run yesterday too when the hour is early. - **as of / live sockets / rooms touched in the last hour**: the "right now" line. One socket at a quiet hour is Eric. - **traffic**: Caddy's access log for the day, people and bots apart. A bot is known by its user agent, or by its address: scanners ask for paths no game serves, monitors come back all day and never play. Then page requests by page (hall, rules, guide), rooms opened from the site ("rooms opened here"), room links opened, the apps a link was previewed in ("shared on"), referrers and campaign tags. - **players today / NEW today**: names seated in rooms created today; NEW means the name's first room ever is today. - **rooms today**: one line each: time, code, humans vs bots, empty seats, state (lobby only / started, no turns / in play), turn count, span, the last turn's time, and how many lines of table talk were said. Talk is a sign people came together; a bot game has none. ## Read it Lead with new names and whether anyone is at the table now. Then, for each stranger, say how far they got: a room that is "lobby only" never filled its seats; "started, no turns" means they sat and left; a span of a few minutes with a handful of turns is a game tried; many turns is a game played. Eric's own names appear too (he plays as whatever he last typed); do not count him as a visitor.