Add save slots to the player
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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)
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 28分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nullthrone/lexvm のほかの issue
-
area: web good first issue priority: low type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
nullthrone/lexvm#49 ·
-
area: infra good first issue priority: low type: chore
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
nullthrone/lexvm#41 ·
-
area: engine good first issue priority: low type: feature
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
nullthrone/lexvm#27 ·
-
area: web priority: low type: research
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
nullthrone/lexvm#63 ·
-
area: infra area: web priority: medium type: chore
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
nullthrone/lexvm#62 ·
nullthrone/lexvm の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
VictoriaMetrics/victorialogs-datasource#747 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
bug from-studio
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
esengine/DeepSeek-Reasonix#14608 ·
メンテナーはふだん 1 日以内に返信
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
getarcaneapp/arcane#4590 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
Clouditera/VulnHunter#57 ·