## Research
- Document compositional Mad-Lib system for infinite game variations
- Compare 3 architectural approaches for AI integration
- Define 15 game mechanic categories for template composition
- Analyze generation latency: <50ms templates vs 1-3s AI-assisted
## Game Templates Added
- emoji_ancestry: Combine emoji to discover Ancient Ancestor (2-3 min gameplay)
- memory_match: Classic flip-card memory game
- which_doesnt_belong: Find the odd one out (5 rounds)
- true_or_false: Answer absurd questions about character
- sort_sequence: Drag emoji into correct order
- emoji_rebus: Decode emoji into words/phrases
- fill_blank: Complete funny sentences with emoji
- side_scroller: Auto-run, tap to jump over obstacles
## Code Updates
- Update Composer to generate 8 game types with correct JSON structures
- Fix template variable rendering for intellectual games
- Replace fill_blank with emoji_ancestry in UI
- Add JSON serialization for complex game data structures
## Next Steps
Research…
- Add tap_to_avoid.html template with emoji-based graphics
- Modify Composer agent to output flat game JSON structure
- Update Gradio app to render games in iframe using srcdoc
- Force tap_to_avoid game type for prototype
- Add error logging for iframe rendering
- Game tested and working locally
Features:
- Tap to move player emoji horizontally
- Avoid falling obstacle emojis
- 30-second timer with score tracking
- Win/lose states with custom messages
- All emoji-based graphics (no external assets)
- Mobile-friendly touch controls
Merge pull request #3 from omfggame/fix-dev-workflow-branch
HuggingFace Spaces are deployment targets, not collaborative repos.
Force push ensures GitHub is the source of truth and prevents
conflicts from Space-side changes.
Fixes the 'rejected' error when pushing to HF.
Merge pull request #2 from omfggame/fix-dev-workflow-branch
Fixes #1
Both workflows now use HEAD:main instead of hardcoding branch names,
which fixes the 'src refspec main does not match any' error in the
dev workflow and improves robustness for both workflows.
- Production: omfggame/omfgg (was therawr/omfgg)
- Dev: omfggame/omfgg-dev (was therawr/omfgg-dev)
- Spaces now owned by organization for team collaboration
- Production workflow: deploys main branch to therawr/omfgg
- Dev workflow: deploys dev branch to therawr/omfgg-dev
- Both use GitHub Actions with huggingface-sync-action
- Add HUGGINGFACE_TOKEN to .env.local.example
- Update all references to use omfggame/omfgg-app
- Configure HF Spaces: therawr/omfgg (prod), therawr/omfgg-dev (dev)
- Fix outdated example paths