Skip to content

Subhendu-Kumar/sgames

Repository files navigation

S Games

A collection of classic Flutter-based game applications featuring interactive gameplay and modern UI design.

S Game Home

Home screen and game interface

Games Included

Tic Tac Toe Game App

A classic Flutter tic-tac-toe game with clean design and intuitive gameplay mechanics.

Screenshots

Tic Tac Toe Home Tic Tac Toe about Tic Tac Toe tutorial Tic Tac Toe game selection Tic Tac Toe play with AI Tic Tac Toe game play Tic Tac Toe game play

Home screen and game interface

Chess Game App

A Flutter-based chess game application with an interactive board and comprehensive move tracking system.

Screenshot

Chess Game Home Chess Game about Chess Game tutorial Chess Game play Chess Game quit

Home screen and game interface

Installation

  1. Clone the repository:
git clone https://github.com/Subhendu-Kumar/sgames.git
cd sgames
  1. Install dependencies:
flutter pub get
  1. Ensure you have the required assets in the correct directories:

Chess Assets

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

Tic Tac Toe Assets

assets/
  images/
    x_icon.png  # X mark (optional)
    o_icon.png  # O mark (optional)

App logo Assets


assets/
  logo/
    sg_logo.png             # app logo for ios and android
    sgames_background.png   # background image for ios
    sgames_branding_12.png  # branding logo for android 12 and above
    sgames_branding.png     # branding logo for android 11 and below and ios
    sgames_logo_12.png      # logo for android 12 and above
    sgames_logo.png         # logo for android 11 and below and ios
  1. Update your pubspec.yaml file to include the assets:
flutter:
  assets:
    - assets/images/
  1. Run the app:
flutter run

Features

Chess Game

  • Interactive chess board with piece movement
  • Move validation and legal move highlighting
  • Undo functionality
  • Turn-based gameplay
  • Checkmate detection

Tic Tac Toe Game

  • Clean 3x3 game grid
  • Two-player gameplay (X vs O)
  • Win detection (horizontal, vertical, diagonal)
  • Game reset functionality
  • Score tracking
  • Modern gradient UI design

Requirements

  • Flutter SDK 3.0+
  • Dart 3.0+
  • Android Studio / VS Code
  • Android/iOS device or emulator

Project Structure

sgames/
├── lib/
│   ├── chess/
│   │   ├── data/
│   │   ├── engine/
│   │   └── presentation/
│   ├── tic_tac_toe/
│   │   ├── ai/
│   │   ├── data/
│   │   ├── engine/
│   │   └── presentation/
│   ├── core/
│   │   ├── utils/
│   │   ├── view/
│   │   └── widgets/
│   ├── s_games.dart
│   └── main.dart
├── assets/
│   ├── images/
│   ├── logo/
└── └── screenshots/

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages