You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mohsen zamani 4f84c66942 first commit 2 years ago
android first commit 2 years ago
assets first commit 2 years ago
fonts first commit 2 years ago
ios first commit 2 years ago
lib first commit 2 years ago
linux first commit 2 years ago
macos first commit 2 years ago
screenshots first commit 2 years ago
test first commit 2 years ago
web first commit 2 years ago
windows first commit 2 years ago
.firebaserc first commit 2 years ago
.gitignore first commit 2 years ago
.metadata first commit 2 years ago
Auto_solver_README.md first commit 2 years ago
LICENSE first commit 2 years ago
README.md first commit 2 years ago
analysis_options.yaml first commit 2 years ago
codemagic.yaml first commit 2 years ago
firebase.json first commit 2 years ago
pubspec.lock first commit 2 years ago
pubspec.yaml first commit 2 years ago
release_notes.txt first commit 2 years ago

README.md

Flutter Puzzle

Codemagic build status

Web App link: https://flutterpuzzle.codemagic.app

Playing a game or solving a puzzle is always fun when you share with friends. We have created a puzzle that consists of three main modes:

  • Normal mode: The classic slide puzzle configuration.
  • Photo mode: Ability to generate puzzles from any image uploaded.
  • Multiplayer mode: Play with others in a competitive head-to-head multiplayer mode.

The puzzle also has an auto solver built-in, it uses the A* algorithm along with some pretty neat tricks to solve the puzzle in the lowest possible moves.

A full explanation of how the A* algorithm works is here.

The puzzle uses Rive to display an animated Dash beside the puzzle.

Riverpod is used for state management inside the puzzle. The app has pretty challenging state management as there are three modes and the puzzle state is persisted across both the photo mode and the multiplayer mode.

We also used a color palette generator package that can create an entire color palette from just an image, it is used in photo mode to change the theme of the screen according to the image selected.

Screenshots

Normal mode:

Photo mode:

Multiplayer mode:

License

Copyright (c) 2022 Soumi Bardhan, Souvik Biswas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.