-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestpriority: mediumMedium priority - plan for soonMedium priority - plan for soon
Description
Feature summary
Add offline mode for local two-player gameplay on same device
Why is this feature important?
It will allow players to enjoy the game when internet connection is unavailable or unstable, provide a pass-and-play option for in-person play, and improve overall app reliability and user experience.
Possible implementation details
- Detect when Firebase connection fails or is unavailable
- Display option to "Play Offline (Pass & Play)" on home screen
- Offline mode features:
- Local two-player turn-based gameplay on same device
- Players alternate turns manually (no network sync)
- Keep same emoji selection UI (stored locally)
- Track game state in localStorage or session storage
- Display whose turn it is prominently
- Same win detection and reset logic as online mode
- No room codes needed
- Add visual indicator showing "Offline Mode" or "Local Play"
- Optional: Basic game history stored locally
- Graceful degradation if online connection drops mid-game
I checked for duplicate requests
- Yes, this is a new idea.
Additional context
This feature would improve accessibility and reliability. Especially useful for playing in areas with poor connectivity or when Firebase quota is exceeded. Could also serve as fallback during Firebase outages. Consider UX flow for switching between online and offline modes. Local storage could preserve settings like emoji preferences.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpriority: mediumMedium priority - plan for soonMedium priority - plan for soon