tw2002 2026-02-09
TW2002
733 files · 26,787+ · 7,479-

Feature: Real-Time Player Stats in Terminal Header

  • Added version identifier and player stats (name, sector, credits) to the terminal header (terminal.html, terminal.js) baseline internal
  • Visual glow/fade animations on stat value changes with configurable timing (1.5s duration, 5s poll interval) decouple internal
  • Detect login from terminal text buffer, fetch player data via /web/players API interface behavioral
  • Detect character switching and reset header display for new character instantiate behavioral
  • Moved version display to footer, simplified header to “TradeWars vX.X.X” decouple behavioral
  • Stripped cursor save/restore sequences from ANSI screens to fix 60+ xterm.js parsing errors remediate internal

Feature: Commodity Schema Rename

  • Renamed commodity keys across entire worker codebase: org -> organics, equip -> equipment decouple internal
  • Updated schema column names, regenerated universe data with new names interface internal
  • Added ports schema check to debug-db endpoint interface behavioral

Feature: Player State Persistence

Bugfix: ANSI Screen System for Cloudflare Workers

  • Implemented bundled screen system for CF Workers (screens embedded in Python code) decouple internal
  • Switched all screen displays from .txt to .ans files for proper ANSI art decouple internal
  • Fixed CP437 encoding for terminal output, TWGS color code conversion in .ans files remediate behavioral
  • Reverted computer menu to .txt (no .ans version exists) baseline internal
  • Used authentic starmenu.txt for Stardock menu, replaced Unicode box-drawing with ASCII decouple internal
  • Fixed corporation screen wiring, corrected port class 4 filename case (Ferr4.ans -> ferr4.ans) remediate internal
  • Added missing TWGS color codes to COLOR_MAP instantiate internal

Bugfix: Port Class and Universe Generation

Bugfix: WebSocket and Deployment Issues

Cleanup: Old Deployments Removed

  • Removed old twerk-game deployments, chat examples, and test artifacts qualify internal

Docs: Screen System Documentation