A collection of classic Flutter-based game applications featuring interactive gameplay and modern UI design.
Home screen and game interface
A Flutter-based chess game application with an interactive board and comprehensive move tracking system.
Home screen and game interface
A classic Flutter tic-tac-toe game with clean design and intuitive gameplay mechanics.
Home screen and game interface
- Clone the repository:
git clone https://github.com/Subhendu-Kumar/sgames.git
cd sgames
- Install dependencies:
flutter pub get
- Ensure you have the required assets in the correct directories:
assets/
images/
wK.png # White King
wQ.png # White Queen
wR.png # White Rook
wB.png # White Bishop
wN.png # White Knight
wP.png # White Pawn
bK.png # Black King
bQ.png # Black Queen
bR.png # Black Rook
bB.png # Black Bishop
bN.png # Black Knight
bP.png # Black Pawn
assets/
images/
x_icon.png # X mark (optional)
o_icon.png # O mark (optional)
- Update your
pubspec.yaml
file to include the assets:
flutter:
assets:
- assets/images/
- Run the app:
flutter run
- Interactive chess board with piece movement
- Move validation and legal move highlighting
- Undo functionality
- Turn-based gameplay
- Checkmate detection
- Clean 3x3 game grid
- Two-player gameplay (X vs O)
- Win detection (horizontal, vertical, diagonal)
- Game reset functionality
- Score tracking
- Modern gradient UI design
- Flutter SDK 3.0+
- Dart 3.0+
- Android Studio / VS Code
- Android/iOS device or emulator
sgames/
├── lib/
│ ├── chess/
│ │ ├── data/
│ │ ├── engine/
│ │ └── presentation/
│ ├── tic_tac_toe/
│ │ ├── data/
│ │ ├── engine/
│ │ └── presentation/
│ ├── core/
│ │ ├── utils/
│ │ ├── view/
│ │ └── widgets/
│ ├── s_games.dart
│ └── main.dart
├── assets/
│ ├── images/
│ └── screenshots/
└── pubspec.yaml
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.