gitwtfhub

wtf is liferestart?

vickscarlet/liferestart — explained in plain English

Analysis updated 2026-06-24

10,401JavaScriptAudience · generalComplexity · 2/5Setup · moderate

TL;DR

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.

Mindmap

mindmap
  root((Life Restart))
    What it does
      Life simulation game
      Browser-based
      Replay life outcomes
    Setup
      pnpm install
      Spreadsheet to JSON
      Local dev server
    Also runs
      Command-line version
      Cocos port exists
    Content
      Event-driven
      Data in spreadsheets
      Chinese and English

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Play a browser-based life simulation game locally after a quick setup.

REASON 2

Mod the game by editing the spreadsheet data files that define life events and outcomes.

REASON 3

Run the game in a terminal via the command-line version without a browser.

REASON 4

Fork and adapt the game to another engine, as community members have already done with Cocos.

What's in the stack?

JavaScriptpnpm

How it stacks up

vickscarlet/liferestartyokoffing/betterfoxksky521/nodeppt
Stars10,40110,40010,363
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasyeasy
Complexity2/51/52/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires pnpm and a manual spreadsheet-to-JSON conversion step before the game will run.

Wtf does this do

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.

Yoink these prompts

Prompt 1
I want to run the liferestart game locally, give me the exact pnpm commands to install dependencies, convert the spreadsheet data, and start the dev server.
Prompt 2
How do I add a new life event to the liferestart game by editing the spreadsheet data files?
Prompt 3
Explain the data pipeline in liferestart: how do the spreadsheet files get converted to JSON and loaded into the game?
Prompt 4
I want to fork liferestart and change the life outcomes, which files should I edit and what format does the data use?

Frequently asked questions

wtf is liferestart?

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.

What language is liferestart written in?

Mainly JavaScript. The stack also includes JavaScript, pnpm.

How hard is liferestart to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is liferestart for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.