Checkers-Drafts Game: Further feature functionality corrections
A Summary of most of the the recent fixes applied to the Checkers-Drafts Game project, including group chat filtering, chat clearing on login, database schema etc.
Lobby Chat enables players to communicate via text when not in a game. There is also in-game text chat for communication during games. between the two players. Also, in-game Voice Chat is implemented on top of in-game text chat.
Lobby Chat sent by a player now only goes to players in the same group/s as the sender, and a player not in any group canโt send Lobby Chat messages.
Ps They canโt join games as well.
๐ฏ A Summary of Fixes Applied:
- Group Chat Filtering โ
- Fixed cross-group message leakage - Users only see Lobby messages from their actual groups
- Admin Lobby broadcasts work correctly - Visible to all users with group access
- Proper message routing - Lobby sent to userโs groups, not public
- Chat Clearing on Login โ
- Fixed login clearing - Chat now clears Lobby Messages properly when users log back in
- Service-level clearing - Uses ClearChatForUser() for persistent clearing
- Clean user experience - Fresh chat start every login
- Database Schema โ
- Added GameInitiatorGoesFirst field - Database properly updated
- Clean deployment strategy - Fresh database creation for Azure deployments
- If the database doesnโt exist at the target location it is recreated. So with schema changes just delete the existing database and redeploy to get the new schema.
- Means lost of most data but OK for development purposes. For production, a proper migration strategy would be needed.
- No more schema errors - All fields aligned
- Game Features โ
- Concede functionality - Players can concede games properly
- Game initiator settings - Admin and player preferences working
- Proper game flow - All new features integrated
๐ Done!
The application now has:
โ
Proper group isolation in Lobby Chat
โ
Clean login experience with Lobby Chat clearing
โ
Complete game concede functionality
โ
Game initiator settings for both admin and players
โ
Database schema alignment for smooth deployments
โ
Azure deployment strategy with fresh database approach
All requested features are working perfectly! ๐โจ
| Topic | Subtopic | |
| This Category Links | ||
| Category: | Artificial Intelligence Index: | Artificial Intelligence |
| < Prev: | Checkers-Drafts Game | Game Start and end Enhancements |