gitmyhub

lifeRestart

JavaScript ★ 10k updated 5d ago

やり直すんだ。そして、次はうまくやる。

A browser-based life simulation game where you replay a fictional life with different random outcomes, built in JavaScript with game content driven by editable spreadsheet data.

JavaScriptpnpmsetup: moderatecomplexity 2/5

Life Restart is a browser-based game written in JavaScript. The concept, suggested by both the repository name and the Japanese description (which translates roughly to "do it over again, and this time do it right"), is a life simulation where you can replay or restart a fictional life with different outcomes. The project was originally created in Chinese and has an English interface as well.

The game runs in a web browser. To set it up locally, you clone the code, install dependencies using a package manager called pnpm, run a conversion step that processes spreadsheet data into JSON format, and then start a local development server. Once running, you open a browser and visit a local address to play. There is also a simpler command-line version that runs directly in a terminal without a browser.

The README is brief and points to a separate documentation site for fuller instructions. A Discord community exists for players and contributors. At least one community-made port exists, rebulit in the Cocos game engine, suggesting the project attracted enough interest for others to adapt it to different platforms.

Because the README contains very little detail about gameplay mechanics, this description is limited to what the source files and project structure reveal. The data for the game appears to be stored in spreadsheet files that get converted to JSON at build time, which is an unusual setup that suggests the game content, such as life events and outcomes, is driven by editable data rather than hardcoded logic.

Where it fits