Skip to content

feat: add tutorial and onboarding experience - #37

Draft
nikolareljin wants to merge 1 commit into
mainfrom
release/1.13.0
Draft

feat: add tutorial and onboarding experience#37
nikolareljin wants to merge 1 commit into
mainfrom
release/1.13.0

Conversation

@nikolareljin

@nikolareljin nikolareljin commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a guided in-game tutorial with contextual hints for movement, combat, city building, diplomacy, and end-turn flow
  • add skip and replay support (Game Menu -> Tutorial & Onboarding)
  • persist tutorial progress in save data and add legacy-save fallback behavior
  • update UI styling and release docs/versioning for 1.13.0

Validation

  • node --check js/ui.js
  • node --check js/state.js
  • node --check js/map.js
  • ./scripts/check_release_version.sh

Closes #24

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 65d361985b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread js/ui.js
Comment on lines +1660 to +1662
if (state.stepIndex >= steps.length - 1) {
this.completeTutorial();
return;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Enforce end-turn requirement before finishing tutorial

At the last onboarding step, clicking Finish calls completeTutorial() directly, which bypasses the required-action guard in advanceTutorialStep. In practice, players can mark the tutorial as completed without ever performing the Step 5 endTurn action, so onboarding state is persisted as done while the final mechanic was never demonstrated.

Useful? React with 👍 / 👎.

@nikolareljin
nikolareljin marked this pull request as draft March 19, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Tutorial and Onboarding Experience

1 participant