How baltoratora/ebrightv2 works
baltoratora combines a daily STEM dashboard with a broad browser-game library. The main workflows are choosing a topic to view a paper and using the Thinking Mode library to open a game, play it within shared game chrome, and optionally use multiplayer rooms. The README documents fact and paper API integrations; sampled sources show several game-to-rules-module relationships and the room relay. Many game routes and integrations were not sampled, so those links are omitted rather than inferred.
Main entry points: page.tsx Daily dashboard · PaperOfDay.tsx Paper feed · GameShell.tsx Game chrome · TopicSelector.tsx Topic selection
Components 34
Daily STEM
- Daily dashboard
app/page.tsx - Topic selection
components/TopicSelector.tsx - Daily fact
components/FunFact.tsx - Fact API
functions/api/fact.ts - Paper feed
components/PaperOfDay.tsx - arXiv client
lib/arxiv.ts - STEM topics
lib/topics.ts - Paper API
functions/api/paper.ts
Game discovery
- Thinking Mode
app/thinking/page.tsx - Game catalog
components/GameLibrary.tsx - Game catalog data
lib/games.ts
Game experiences
- Game chrome
components/GameShell.tsx - Client hydration
components/ClientGame.tsx - Word games
components/WordGame.tsx - Word rules
lib/wordle.ts - Battleship
components/Battleship.tsx - Battleship rules
lib/battleship.ts - Breakout
components/Breakout.tsx - Breakout rules
lib/breakout.ts - Frogger
components/Frogger.tsx - Frogger rules
lib/frogger.ts - Merge Lab
components/merge-lab/MergeLab.tsx - Merge rules
lib/merge-lab.ts - Rail Patrol
components/rail-patrol/RailPatrol.tsx - Rail rules
lib/rail-patrol.ts - Rune Bastion
components/rune-bastion/RuneBastion.tsx - Bastion rules
lib/rune-bastion.ts - Evolution game
components/evolution/EvolveGame.tsx - Evolution saves
components/evolution/storage.ts - Save validation
lib/evolution/save/save.ts
Multiplayer
- Room client
lib/useRoom.ts - Room protocol
lib/roomProtocol.ts - Room relay
worker/src/index.ts
Other components
- Visitor
Connections 25
- Visitor → Daily dashboard: opens
app/page.tsx - Daily dashboard → Topic selection: renders
app/page.tsx - Daily dashboard → Daily fact: renders
app/page.tsx - Daily dashboard → Paper feed: renders
app/page.tsx - Daily dashboard → STEM topics: loads default
app/page.tsx - Daily fact → Fact API: fetches
- Paper feed → arXiv client: uses
components/PaperOfDay.tsx - Paper feed → Paper API: fetches
- Topic selection → STEM topics: uses
- Visitor → Thinking Mode: opens
app/thinking/page.tsx - Thinking Mode → Game catalog: renders
app/thinking/page.tsx - Game catalog → Game catalog data: loads catalog
components/GameLibrary.tsx - Visitor → Game chrome: plays within
- Game chrome → Client hydration: wraps
app/solitaire/page.tsx - Game chrome → Word games: hosts
app/wordle/page.tsx - Word games → Word rules: uses
components/WordGame.tsx - Battleship → Battleship rules: uses
components/Battleship.tsx - Breakout → Breakout rules: uses
components/Breakout.tsx - Frogger → Frogger rules: uses
components/Frogger.tsx - Merge Lab → Merge rules: uses
components/merge-lab/MergeLab.tsx - Rail Patrol → Rail rules: uses
components/rail-patrol/RailPatrol.tsx - Rune Bastion → Bastion rules: uses
components/rune-bastion/RuneBastion.tsx - Evolution saves → Save validation: validates saves
components/evolution/storage.ts - Room client → Room protocol: types messages
lib/useRoom.ts - Room relay → Room protocol: validates messages
worker/src/index.ts