xajik/thedeck
关于
The Deck:使用 Flutter 构建的开源、跨平台移动端回合制卡牌游戏引擎
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
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.
Gameplay
- Select a game 📚
- Connect to the room 🔗
- Start game 🚀
![]() |
![]() |
![]() |
Read more
- ⚙️ How it works 👀:
- Dev.to
- Medium
- PlantUML diagrams here - /documentation
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
fvmwithbrew - 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-8for wrong locale
export LANG="en_US.UTF-8Run
localeif there is anyC, then runexport LC_ALL=en_US.UTF-8For
flutterfirescript 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.plistto 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
- Run:
Tools
To generate a new Redux template see scripts
License
This project is licensed under the terms of the MIT license.
探索相关项目
加载中…


