Add save slots to the player
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Start with apps/web/src/services/saves.ts, apps/web/src/logic/saves.ts, apps/web/src/services/storage.ts and apps/web/src/game/session.ts; read section 5 of docs/architecture.md for the save model. Trace autosave and storage behavior, then identify how the existing replay flow handles older pack versions. Done means the listed slot, migration, offline, conflict, warning and end-to-end acceptance criteria pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
The player keeps one autosave per pack, and New game overwrites it. Players want to try alternatives, keep a save before the finale, or share a device. The save format lexvm-save/1 already contains everything; slots are a host feature with no format change.
Scope
- Keep the autosave; add up to five manual slots per pack: Save to slot and Load from slot in the game menu. The meta commands
saveandloadopen the slot sheet (today they export and import a file). - Slot list: editable label, room name, score, turn and time saved.
- New game no longer touches manual slots.
- Export and import per slot with the existing
.lexsave.jsonfiles. - Loading a slot from an older pack version uses the existing replay flow.
- Storage migration: existing v0.1 autosaves stay readable.
- Deleting an imported pack deletes its slots after confirmation.
- Slots follow the two-tab rule of the autosave: a tab never silently overwrites a slot that another tab has written since.
Acceptance criteria
- A v0.1 autosave loads after the upgrade (migration test).
- Save to slot, play on, load slot restores state, log and revealed hints.
- Slots survive reloads and work offline.
- An end-to-end test covers save, continue and load.
- With storage unavailable, slots work for the session and the existing warning is shown.
References
- apps/web/src/services/saves.ts
- apps/web/src/logic/saves.ts
- apps/web/src/services/storage.ts
- apps/web/src/game/session.ts
- docs/architecture.md (section 5, Saves)
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 28m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nullthrone/lexvm
-
area: web good first issue priority: low type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
nullthrone/lexvm#49 ·
-
area: infra good first issue priority: low type: chore
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
nullthrone/lexvm#41 ·
-
area: engine good first issue priority: low type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
nullthrone/lexvm#27 ·
-
area: web priority: low type: research
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
nullthrone/lexvm#63 ·
-
area: infra area: web priority: medium type: chore
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
nullthrone/lexvm#62 ·
Tutte le issue di nullthrone/lexvm
Issue simili
-
area: image-engine bug priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
snapotter-hq/SnapOtter#3885 ·
I maintainer di solito rispondono entro 1 giorno
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 3 giorni
-
pending triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug P3 UI/UX
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
openclaw/openclaw#182077 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno