A visually precise and responsive chess board design implemented using Flutter. This project was developed as a UI challenge to master complex grid layouts and component styling.
This repository focuses on the architectural design of a chess board, ensuring a pixel-perfect layout across different screen sizes. It serves as a foundational component for a full-scale chess application.
- Responsive Grid: Automatically adjusts to different screen dimensions (Web & Mobile).
- Custom Styling: Clean, alternating tile patterns using Flutter containers.
- Flutter Web Support: Optimized for browser rendering and desktop views.
- Clean Component Logic: Organized widget structure for easy piece placement and future logic integration.
- GridView.builder: Efficiently rendering the 64-square grid.
- Aspect Ratio Management: Ensuring the board remains perfectly square on all devices.
- Stateless Architecture: Lightweight and performant UI components.
lib/: Contains the core board layout and tile logic.web/: Configuration for Flutter Web deployment.test/: Placeholder for UI-specific unit tests.
-
Clone the repo:
git clone https://github.com/SHADOWRULIN/ChessBoard-Design-Flutter.git
-
Navigate to the folder:
cd ChessBoard-Design-Flutter -
Run for Web:
flutter run -d chrome
Muhammad Fahaz Khan
- GitHub: @SHADOWRULIN
- LinkedIn: Fahaz Khan
This project is licensed under the MIT License — see the LICENSE file for details.
