8000 GitHub - Subhendu-Kumar/sgames
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Subhendu-Kumar/sgames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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

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 play Tic Tac Toe game play

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)
  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/
│   │   ├── data/
│   │   ├── engine/
│   │   └── presentation/
│   ├── core/
│   │   ├── utils/
│   │   ├── view/
│   │   └── widgets/
│   ├── s_games.dart
│   └── main.dart
├── assets/
│   ├── images/
│   └── screenshots/
└── pubspec.yaml

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

0