Skip to content

refactor: Remove unused introText keys from game configs#322

Open
jschhie wants to merge 2 commits into
preprodfrom
refactor/rm-unused-game-intro-text-keys
Open

refactor: Remove unused introText keys from game configs#322
jschhie wants to merge 2 commits into
preprodfrom
refactor/rm-unused-game-intro-text-keys

Conversation

@jschhie
Copy link
Copy Markdown
Collaborator

@jschhie jschhie commented May 27, 2026

Summary

  • Removed deprecated and unused introText config keys across 36 affected games
  • Standardized database schema formatting across all 52 games

Impact

  • Cleans up game databases for maintainability and gameplay clarity
  • Aligns dictionary keys with pre-recorded introAudio assets (current human actors vs previous TTS audio)
  • Simplifies configs for future game dev

Approach

  • Removed outdated/unused introText entries from gameConfigs.js
  • Minor: Fixed grammar in game descriptions (specifically, "Plant Power")
  • Re-ran Prettier for codebase formatting consistency

Games Affected (36 total)

Note: All affected games now align with the remaining 16 games (Math + Language)

  • All 10 Science games
  • All 14 Life Skills games
  • All 12 Independence Skills games

Manual Tests

  • Tested on local dev + personal Vercel deployment
  • Confirmed all 36 affected games play the human-actor introAudio without relying on the deleted, TTS-based introText
  • Fully played and sampled 1 game per category to ensure UI and gameplay remain functional

Notes

  • The only functional instance of introText is within useGameCore.js
  • Confirmed the composable first checks for introAudio to play pre-recordings and falls back to TTS audio using introText if missing

jschhie added 2 commits May 19, 2026 11:19
- Deleted unused 'introText' keys across 36 game dicts
- Cleaned up database schema across all 52 games to align with pre-recorded 'introAudio' keys
    (prev. generated TTS audio)
- Removed outdated game configs to improve maintainability/clarity
- Fixed minor typo: "their" to "its" in game description
@jschhie jschhie self-assigned this May 27, 2026
@jschhie jschhie added the refactor making changes for enhancements or structure improvements without changing existing functionalities label May 27, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
audemywebsite Ready Ready Preview, Comment May 27, 2026 7:35pm

@jschhie jschhie requested a review from master-of-none May 27, 2026 19:35
@jschhie
Copy link
Copy Markdown
Collaborator Author

jschhie commented May 27, 2026

Hi @master-of-none,

Could you please review these two PRs (#321 and #322) whenever you get a chance?

  • PR #321: Fixes the grammar/typos in the game Q&As for caption and TTS clarity
  • PR #322: Removes unused, outdated introText from game configs to align with current gameplay

They can be merged in any order without conflicts.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor making changes for enhancements or structure improvements without changing existing functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant