FLUTTER ECOSYSTEM

pblinux/maze

Flutterでの迷路ゲーム

迷路 のプロジェクト画像
Stars
20
Forks
7
最終プッシュ(UTC)
2024/03/13
プロジェクト状態
公開中
Pablo Bautista GitHub avatar
GITHUB User

Pablo Bautista ↗

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

PixelaQuetzaltenango公式サイト ↗
言語DartSwiftKotlinObjective-C

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 6 件

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

maze_game

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

https://raw.githubusercontent.com/pblinux/maze/package/img/maze.png

¿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!'))