tw2002
2026-02-06
TW2002
561 files · 53,779+ · 18,631-
Feature: Shared Rules Layer for Engine/Telnet Parity
- Added shared rules layer extracting game logic from command handlers instantiate behavioral
- Wired trade/combat side effects into shared rules layer decouple internal
- Added execute_trade_at_price, wired telnet haggling, expanded tests qualify internal
- Wired remaining telnet commands to shared rules layer decouple internal
- Added encounter rules layer with engine movement parity instantiate internal
- Added robbery, loans, and cloak rules instantiate internal
- Added name change, photon, and planet defense parity instantiate internal
- Added interdictor and game assets instantiate internal
Feature: SQLite Export and Import
- Implemented SQLite export with GameData loader, pure writer, and CLI command interface behavioral
- Added FK constraints, Gold tables, indexes, and views to SQLite export interface internal
- Added
import-dbcommand and fixed array-index-as-PK bug remediate behavioral - Supported loading game data from SQLite databases decouple internal
- Added real-data round-trip tests for SQLite loading qualify internal
- Added GameState coverage tests and updated CLI for
.dbsupport qualify behavioral - Added command API OpenAPI snapshot and contract test qualify behavioral
Feature: Cloudflare Workers Deployment
- Added minimal Durable Object worker instantiate internal
- Added workers-py (pywrangler) for Cloudflare Python Workers support instantiate internal
- Integrated web client UI with 18 HTML mockup pages decouple behavioral
- Wired HTML pages to actual engine commands for playable game decouple internal
Refactor: Codebase Restructuring (500 LOC Limit)
- Split
player.py(1003 LOC) intoplayer/directory decouple internal - Split
research.py(937 LOC) intoresearch/directory decouple internal - Split
report.py(1717 LOC) intoreports/directory decouple internal - Split
game_data.py(889 LOC) intogame_data/directory decouple internal - Split
read.py(850 LOC) intoread/directory decouple internal - Split
parse_bbs.py(833 LOC) intoparse_bbs/directory decouple internal - Converted stardock/tavern/police/computer to SubMenu dispatch pattern decouple internal
- Added SubMenu registry class for nested menu dispatch instantiate internal
- Split large command files into packages (all under 500 LOC) decouple behavioral
- Split corporation/management.py to meet 500 LOC limit decouple internal
- Replaced SubMenu class with plain dicts and helper functions decouple internal
Feature: Additional Gameplay Features
- Added ship save crash fix and remaining C parity features (81 tests) qualify internal
- Added remaining C parity features and admin tools (TEDIT admin editor) instantiate internal
- Added Federal Commission trading benefits instantiate internal
- Added planet-to-planet colonist transport scheduling instantiate internal
- Added 4 enhanced underground services instantiate internal
- Added planet types C and U to genesis instantiate internal
Cleanup: Documentation and Repo Maintenance
- Restructured ARD module architecture documentation decouple architectural
- Added PlantUML ER diagram for SQLite export schema interface internal
- Removed 18 stale/redundant docs and fixed remaining references specify internal
- Removed 7 more redundant docs and fixed stale checklist references specify internal
- Fixed stale path references across 22 docs specify internal
- Added
.gitignoreentries for pywrangler generated dirs instantiate internal - Evaluated maturity of Python port (twerk) decouple internal
- Added feature parity checklist for C vs Python server instantiate behavioral