Search packages, repositories and app categories

GitHub repositorypblinux/maze

maze

Maze game in flutter

maze project cover
Stars
20
Forks
7
Last push (UTC)
Mar 13, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

maze_game

A simple maze game in Flutter. It also serves as a CustomPainter example.

¿Why?

In another project, I needed to create a "simple" maze game that can be used in low-end devices, so game engine was not an option.

Suddenly, I found a way to do it in pure Android.

Maze

So, this is a "port" of that saviour example.

Maze package

pub Project Status: Active License: MIT style: very good analysis

You can use it in your project, you only need to add the dependency:

dependencies:
  flutter:
    sdk: flutter
  maze_game: 3.0.0

Now you can create your Maze:

Maze(
    player: MazeItem(
        'https://image.flaticon.com/icons/png/512/808/808433.png',
        ImageType.network),
    columns: 6,
    rows: 12,
    wallThickness: 4.0,
    wallColor: Theme.of(context).primaryColor,
    finish: MazeItem(
        'https://image.flaticon.com/icons/png/512/1506/1506339.png',
        ImageType.network),
    onFinish: () => print('Hi from finish line!'))
Pablo Bautista GitHub avatar
GitHub author

Pablo Bautista ↗

Android Engineer @PayPal / Mobile Engineer and co-founder @PixelaGT / Organizer @gdgxela / Tolkien's Legendarium ultramegafan

PixelaQuetzaltenangoOfficial website ↗
LanguagesDartSwiftKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 6 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗