gittech. site

for different kinds of informations and explorations.

The Deck: An Open-Source Cross-Platform Multiplayer Card Game Engine in Flutter

Published at
3 days ago
alt text

The Deck

๐Ÿ•น๏ธ Mobile multiplayer offline card games aggregator ๐Ÿš€ ๐Ÿ‘จโ€๐Ÿ’ป Written ๐Ÿ’ฏ in Dart and Flutter ๐Ÿ”จ

The inspiration for โ€œThe Deckโ€ came from a situation many of us have experienced. Imagine gathering with friends for a game night, only to realize that nobody has the necessary cards. Frustrating, right? This dilemma sparked the idea of leveraging technology to create a solution.

alt text

The primary goal of โ€œThe Deckโ€ is to provide a user-friendly and cooperative digital game environment for playing classic games that were usually played with cards on paper. One of the standout features of โ€œThe Deckโ€ is its unique ability to assign one device as the โ€œtableโ€ (a.k.a. deck). By placing this device in the middle of the group, all players can witness the real-time state of the cards. This adds a new level of immersion making it a truly captivating experience.

alt text

Gameplay

  1. Select a game ๐Ÿ“š
  2. Connect to the room ๐Ÿ”—
  3. Start game ๐Ÿš€
Image 3 Image 4 Image 5

Read more

Other

Contribute

Contribution is welcome ๐Ÿค

If you contributed and build a new Game, ping me if you wish it to be released on the store markets. [email protected]

Flutter

Setup

Use FVM to manage Flutter SDK version

  • install fvm with brew
  • Setup Flutter version from pubspec fvm use x.y.z
    • Read version here: fvmrc
  • run with fvm flutter run

MR / Pull Request

Naming convention, start commit description with:

  • (FEAT) - feature
  • (FIX) - bug fix
  • (CHORE) - refactoring, updating dependencies, etc
  • (TEST) - tests

Release

Android

  • For App Store release โญ๏ธ
    • fvm flutter build appbundle --release
  • Fat APK with all ABI
    • fvm flutter build apk --release
    • Upload file to Play store
  • For split-abi APK testing
    • fvm flutter build apk --release --split-per-abi

iOS

  • Archive for App store upload โญ๏ธ
    • fvm flutter build ipa --release
    • open file with Xcode, validate and upload
  • IPA file to drag & drop into iphone:
    • fvm flutter build ipa --release --export-options-plist="/Users/igor.steblii/Projects/foundation_tone/ft_fe/build/ios/archive/Runner.xcarchive/Info.plist"

Common errors

  • In case VS code fail with missing Cocoapods

    • fvm flutter clean + fvm flutter pub get + Reload VSCode
  • For normalize': Unicode Normalization not appropriate for ASCII-8BIT (Encoding::CompatibilityError)

  • Run: export LC_ALL=en_US.UTF-8

  • for wrong locale export LANG="en_US.UTF-8

  • Run locale if there is any C, then run export LC_ALL=en_US.UTF-8

  • For flutterfire script fails with "unhandle JSON exception"

  • Download json/plist form Firebase and update in respective folders (https://github.com/invertase/flutterfire_cli/issues/30)

  • iOS Device require permission to connect to local network, which cannot be access from code. To emulate access query local IP address

  • Another way is to add permission to Info.plist to ask on app start:

    • NSLocalNetworkUsageDescription
    • Access to the local network required to create and connect to game rooms
  • For Error when reading 'lib/objectbox.g.dart': No such file or directory

    • Run: fvm flutter pub run build_runner watch --delete-conflicting-outputs

Tools

To generate a new Redux template see scripts

License

This project is licensed under the terms of the MIT license.

Earn $100 Fast: AI + Notion Templates

Earn $100 Fast: AI + Notion Templates

Get the guide here

Do you want to make extra money quickly? This guide shows you how to create and sell Notion templates step by step. Perfect for beginners or anyone looking for an easy way to start earning online.

Why Download This Guide?

  • Start Making Money Fast: Follow a simple process to create templates people want and will buy.
  • Save Time with AI: Learn to use tools like ChatGPT to design and improve templates.
  • Join a Growing Market: More people are using Notion every day, and they need templates to save time and stay organized.

Includes Helpful Tools:

  • ChatGPT Prompts PDF: Ready-made prompts to spark ideas and create templates faster.
  • Checklist PDF: Stay on track as you work.

Whatโ€™s Inside?

  • Clear Steps to Follow: Learn everything from idea to sale.
  • How to Find Popular Ideas: Research trends and needs.
  • Using AI to Create: Tips for improving templates with AI tools.
  • Making Templates User-Friendly: Simple tips for better design.
  • Selling Your Templates: Advice on sharing and selling on platforms like Gumroad or Etsy.
  • Fixing Common Problems: Solutions for issues like low sales or tricky designs.

Who Is This For?

  • Anyone who wants to make extra money online.
  • People who love using Notion and want to share their ideas.
  • Creators looking for a simple way to start selling digital products.

Get your copy now and start making money today!


๐Ÿ’ฐ Want to Earn 40% Commission?

Join our affiliate program and start making money by promoting well crafter prodicts! Earn 40% on every sale you refer.

๐Ÿ”— Sign up as an affiliate here: Become an Affiliate