Implement Android social deduction game with real-time multiplayer #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Built a complete social deduction game where players identify an Imposter through hint-giving rounds. All players except the Imposter receive the same word; the Imposter only knows the category.
Architecture
MVVM with Firebase Realtime Database
FirebaseRepository: Centralized data operations (party management, voting, store)GameViewModel: State management via StateFlow with automatic navigationCore Features
Multiplayer Flow
Game Loop
Economy
Implementation Details
Constants - All game config centralized in
GameConstants.kt(player limits, rewards, round count)Error Handling - User-friendly messages, no internal exception exposure
Data Structure
Configuration
Requires Firebase Realtime Database. Template config at
app/google-services.json.example.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.