Chess Park is a complete source code for a real-time online chess application for iOS and Android, built with a Firebase backend. Its UI blends nostalgic chess colors with a modern, glossy interface.
It’s a solid foundation for anyone looking to launch a new gaming project, a startup, or a dedicated chess community.
Main Features:
- Server-Authoritative Multiplayer: All game logic is processed on a secure Firebase backend to prevent cheating. Moves are validated in atomic transactions to ensure data integrity.
- Elo-Based Matchmaking: A Cloud Function automatically pairs players with similarly skilled opponents (±150 Elo) for fair and competitive matches.
- Live Game Spectating: Watch top-rated games in real-time.
- Timed Games: Full support for Bullet (1 min), Blitz (3 & 5 min), and Rapid (10 min) time controls.
- Complete Game Actions: Resign, offer/accept draws, and request rematches.
- Premove Functionality: Queue your next move before it’s your turn.
- User Authentication & Profiles: Secure email/password sign-up with email verification, user stats, and profiles.
- Global Leaderboard: A dynamic top-100 leaderboard ranks all players by Elo rating.
- Lichess Puzzles: Integrated daily and random chess puzzles via the Lichess API.
- Customization: Multiple board themes and piece sets for personalization.
- Clean & Organized Code: Follows best practices with Provider for state management and a logical folder structure.
Package Includes:
- Full Flutter Application (Frontend): Complete and well-organized source code for the iOS & Android app.
- Full Firebase Project (Backend): All backend logic, game rules, security rules, and index configurations.
- Full Documentation: A complete HTML file explaining every step of the setup and customization process.
Built With:
- Frontend: Flutter (Cross-platform for Android & iOS)
- State Management: Provider
- Backend: Firebase (Firestore, Authentication, Storage, Cloud Functions)
- Backend Language: TypeScript
- Game Logic: Fully Backend-Authoritative
APIs Used:
- Firebase
- Lichess Public API
Changelog
Version 2.0
Complete UI redesign for a more modern interface. All moves are now server-validated to prevent cheating. Fixed potential race conditions in matchmaking and game state with atomic transactions.
Version 1.0
Initial release.
