An example of using InteractiveViewer to build a go game board

Overview

Go

An example of using InteractiveViewer to build a Go game board.

Try the live demo.

Screenshot

Usage

Zoom using pinch on mobile or two-finger scroll on touchpad or scroll wheel on mouse.

Pan using tap and drag or click and drag.

Drag white or black pieces from the left edge of the screen to add pieces using finger or mouse.

Drag pieces around the board using finger or mouse.

You might also like...

M.U.D. Role-playing text-based game. A multiple-choice multiplayer interactive game developed on Flutter (Android, iOS, Windows, Web)

M.U.D. Role-playing text-based game. A multiple-choice multiplayer interactive game developed on Flutter (Android, iOS, Windows, Web)

Teia M.U.D. Role-playing text-based game. A multiple-choice multiplayer interactive game developed on Flutter (Android, iOS, Windows, Web). The main f

Feb 17, 2022

Warrior Runner - Game made with Flutter and Flame game engine

Warrior Runner - Game made with Flutter  and Flame game engine

Warrior Runner - Game made with Flutter Demo and Screenshot Flutter Version Used : 1.22.4 flame: 0.29.3 hive: 1.5.0-pre Learing Resources: Create a Mo

Oct 10, 2022

Snake-Game - A flutter based classic snake game with nothing just and just a feel to have play

snake_game This is a simple snake Game under development made with the help of y

Mar 22, 2022

Flutter Switch Game: Get Fun With Play This Game

Flutter Switch Game: Get Fun With Play This Game

switch_game A new Flutter project. Getting Started Try Swap red circle to green

Jun 17, 2022

A starter game in Flutter with all the bells and whistles of a mobile (iOS & Android) game

A starter game in Flutter with all the bells and whistles of a mobile (iOS & Android) game including the following features: sound music main menu scr

Dec 22, 2022

Watermelon is a game developed using Flutter+Flame+Forge2D. 合成大瓜是使用Flutter+Flame+Forge2D开发的一个开源小游戏(Flutter版合成大西瓜)

Watermelon is a game developed using Flutter+Flame+Forge2D. 合成大瓜是使用Flutter+Flame+Forge2D开发的一个开源小游戏(Flutter版合成大西瓜)

合成大瓜 简介 合成大瓜是使用Flutter+Flame+Forge2D开发的一个开源小游戏。 我在微伞小游戏开发的《合成大西瓜》的基础上将其移植到 Flutter 平台,并添加了以下新特性: 支持自定义背景图 支持重力感应操控 支持修改图片素材 支持反向合成小瓜 支持只生成小/大瓜 内置多套游戏主

Dec 4, 2022

A simple 2D multiplayer online game built using Flutter and Flame engine

A simple 2D multiplayer online game built using Flutter and Flame engine

Club Penguin Introduction 🚀 Club Penguin A multiplayer game involving penguins and anonymous chat in a virtual 2D world Before we start, you can take

Dec 24, 2022

Rock Paper Scissors Game Using Flutter

Rock Paper Scissors Game Using Flutter

Rock Paper Scissors Game A new Flutter project. This project has three pages: Login Page, Game Page and a Score Board. In the Login Page the user shou

Feb 7, 2022

Tic-tac-toe is an application game implemented using Flutter technology .

Tic-tac-toe (noughts and crosses, or Xs and Os ) Tic-tac-toe is an Application game for two players who take turns marking the spaces in a three-by-th

Oct 30, 2021
Comments
  • Hard to scale when two fingers tap down at the same time

    Hard to scale when two fingers tap down at the same time

    What happened?

    It's hard to scale the board when I use two fingers at the same time. But the board can be easily scaled with one finger pressed and move for a little bit then the second finger pressed to scale.

    Environments

    Flutter: 1.20.0 (Stable) Devices: OnePlus 6T, OnePlus 8 Pro, AVD Emulator. (All Android Q)

    How to reproduce?

    Failures are following steps below:

    1. Two fingers press at the same time.
    2. Try to scale the board.
    3. ~50% of the gesture is no response with scale.

    Succeeds are following steps below, and have some specific cases:

    ①: Fingers pressed one-by-one (~100%):

    1. Only one finger pressed down at first.
    2. Move the finger for a little bit.
    3. At the same time of moving, press the second finger and start scaling.

    ②: Rapidly scaling on the screen (~65%):

    1. Press two fingers on the screen with a rapidly enlarge gesture.

    ③: Place two fingers as close as possible (~85%):

    1. Place two fingers which makes the distance of them is lower than the height of the piece panel.
    2. Scale it.

    That might be something with the GestureDetector or the Listener inside the InteractiveViewer, needs more investigation.

    opened by AlexV525 1
  • Add a web demo

    Add a web demo

    If the app compiles for web with no issues, a web demo on github pages would be pretty neat

    here's the simple plug-n-play github action i made for it: Source

    PS. adding the deployment key required for the action can be referred from this guide

    opened by tusharsadhwani 1
  • "squishy" drag 'n' drop of pieces already on the board

    it feels like we're using touch-based d'n'd instead of mouse-based d'n'd which is intrinsically "squishy" as you have to move 5-10 pixels before a drag operation is registered and the piece is first moved.

    opened by csells 3
Owner
Justin McCandless
:blue_heart:
Justin McCandless
A ludo board game developed in Flutter using canvas.

Fludo Fludo is a Flutter app which uses canvas and animations to build a Ludo board game. Features Roll dice & move your pawns Kill opponent's pawns P

Sumeet Rukeja 98 Dec 19, 2022
An application cum Game-based App built using Flutter that compose a mind-tricked word game, Just for fun.

destini_challenge A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you st

dev_allauddin 3 Feb 3, 2022
Game characters ui - A redesign of a game characters app using flutter

Game characters ui - A redesign of a game characters app using flutter

null 20 Oct 23, 2022
A simple dice game built using Flutter, that allows users to engage in a dice game

A simple dice game built using Flutter, that allows users to engage in a dice game. Each player rolls the dice and the highest value number that you can make WINS!

Dubem Ezeagwu 1 Sep 1, 2022
Game Flutter Using Flame.It was for the Game Jam 2022

binarymemory Memory Binary Flame Flutter Game Jam Getting Started This project is a starting point for a Flutter application. A few resources to get y

Victor Manuel Lagunas Franco 2 Sep 7, 2022
A full-stack Dart realtime game example

dart_realtime_game An example of using Dart and Flutter to build a realtime game. Uses Dart for the full stack, shares code between client and server.

Eric Seidel 26 Aug 9, 2022
How to build a Match-3 game, like Candy Crush, Bejeweled, FishDom… in Flutter.

flutter_crush How to build a Math-3 game, like Candy Crush, Bejeweled, FishDom… in Flutter. Source code of the article available on didierboelens.com

Didier Boelens 477 Nov 28, 2022
Game RPG build by Flame Flutter

Darkness Dungeon Game developed for the purpose of testing the use of the Bonfire package! Download APK Used packages: Bonfire - Flame - Used sprites:

Rafael Almeida Barbosa 254 Jan 3, 2023
Sudoku game build with Flutter

sudoku aplikasi sudoku yang dibuat menggunakan flutter berikut adalah screen shot dari game sudoku : Getting Started This project is a starting point

Muhammad Azizur Rohim 21 Dec 20, 2022
A simple puzzle game build for Flutter Puzzle Hack Challenge

Give Vaccine Kill Covid Introduction ??‍?? In the initial stages of covid-19 vaccine testing trails, doctors are testing with many vaccines for discov

Sujith 22 Nov 28, 2022