async
与 'dart:async' 库相关的实用函数和类。
flutterflip 的公共仓库,这是一个使用 Flutter 构建的黑白棋克隆版本。
以下为英文项目原文快照,最新内容请访问 GitHub。
A single-player reversi clone built with Flutter, which compiles for Android, iOS, web, macOS, Windows, and Linux.
The user plays as black, and the CPU will make moves as white in response. The move search only goes 4-5 plies ahead, so it's not that sophisticated but puts up a reasonable fight.
Screenshot
This was written as an exercise to help me ramp up on Flutter, back when I joined the team in the spring of 2018, and it's intended to be an open source example. The tech used includes:
If you spot a bug, feel free to file an issue report.
This codebase is organized as a monorepo workspace containing two packages:
packages/flutterflip_shared: A pure Dart package containing the core board state representation, score evaluation heuristics, and game models (GameBoard, GameModel, GameBoardScorer).packages/flutterflip: The Flutter client application containing all widget trees, visual theme structures, platform directories, assets, and isolate-based engine move finder calculations (MoveFinder).