Skip to content

Repository files navigation

LIFE.EXE 🖥️

A cinematic life simulator that reveals your financial, social, and psychological patterns through the choices you make — and how you make them.


Setup (5 minutes)

1. Backend (Python)

cd backend
pip install -r requirements.txt

# Add your API key
cp .env.example .env
# Edit .env and add your ANTHROPIC_API_KEY

# Run server
uvicorn main:app --reload --port 8000

2. Frontend (Node/React)

cd frontend
npm install
npm start

App runs at http://localhost:3000


How it works

  • 7 rounds of cinematic life scenarios
  • Every choice is tracked — financially, socially, career, relationships
  • Round 4: Your Shadow Self appears — the version of you who chose differently
  • Behavioral tracking: time taken, hesitations, answer changes are all recorded silently
  • End debrief: Full psychological + financial personality report based on BOTH your choices AND how you made them

Tech Stack

  • Backend: Python + FastAPI + Anthropic SDK
  • Frontend: React (CRA) + vanilla CSS
  • AI Engine: Claude Sonnet via Anthropic API

Key files

backend/
  main.py          ← All API endpoints + Claude prompts
  requirements.txt
  .env.example

frontend/src/
  App.js           ← Full game logic + all screens
  App.css          ← Dark cinematic UI

Demo flow (for judges)

  1. Boot the simulation
  2. Play 3-4 rounds live
  3. Let the Shadow Self reveal hit
  4. Skip to debrief to show the full personality report
  5. Point out the emotional insights section — it reads their hesitations, not just their choices

Built for Anthropic x UMD Hackathon 2026

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages