easy_puzzle_game 0.0.2 copy "easy_puzzle_game: ^0.0.2" to clipboard
easy_puzzle_game: ^0.0.2 copied to clipboard

This is a slide puzzle game. Give your image and it make puzzle for you.

Easy Puzzle Game #

Features #

  • Support for Puzzles
  • Support for Puzzles asset and network images

How to use #

  • A 3x3 puzzle board visualization:
┌─────1───────2───────3────► x
│  ┌─────┐ ┌─────┐ ┌─────┐
1  │  1  │ │  2  │ │  3  │
│  └─────┘ └─────┘ └─────┘
│  ┌─────┐ ┌─────┐ ┌─────┐
2  │  4  │ │  5  │ │  6  │
│  └─────┘ └─────┘ └─────┘
│  ┌─────┐ ┌─────┐
3  │  7  │ │  8  │
│  └─────┘ └─────┘
▼
  y
await const EasyPuzzleGameApp(
      title: 'Puzzle',
    /// this is the puzzle full image
      puzzleFullImg:
          'https://github.com/mhanzla80/easy_puzzle_game/raw/master/puzzle.png',
    /// this is the puzzle block images, you have to pass the folder path in which images are present.
    /// if rows and columns are 3 the 3x3=9
    /// if rows and columns are 4 the 4x4=9
      puzzleBlockFolderPath:
          'https://github.com/mhanzla80/easy_puzzle_game/raw/master/blocks',
    /// this is the number of puzzle rows and columns.
      puzzleRowColumn: 4,
    );
);

Authors #

Noor Ali Butt

GitHub Follow LinkedIn Link

Hanzla Waheed

GitHub Follow LinkedIn Link