About
beijing-hell is a browser-based remake of 北京浮生记 (Beijing Fushengji) built with React 19, Redux Toolkit, TypeScript, and Vite, presented inside a simulated Windows 98 desktop that mimics the original game's window style. Its rules are checked item-by-item against a fixed commit of the original C++ source.
How it differs from the original
The remake documents a small set of approved deviations from the original C++ logic — an injected random-number generator using the same call sequence, differences in undefined behavior, and JavaScript's safe-integer saturation — while stating that its interface changes don't alter gameplay itself.
Getting started
The game runs locally via Node.js and pnpm, starting a development server that opens a simulated desktop containing the game window; progress auto-saves to the browser's local storage, and finishing a run with a high enough net worth (cash plus savings minus debt) qualifies for a local top-10 leaderboard.
Additional notes
- Quirk
- Selling item #7 or #5 lowers the player's in-game reputation, a mechanic carried over from the original.