dartcade
一个用纯 Dart 编写的简单基于终端的街机游戏集合。
目的
我正在开发一些简单的 2D UI 库(例如 package:griddle, package:neokeys),我想要一些激励性的例子来确保我走对了方向,并且这些库提供了正确的抽象。
用法
目前,你有两个选择:克隆并构建,或者使用 dart pub global
# Clone and build from source.
git clone https://github.com/matanlurey/dartcade
cd dartcade
dart run :pong
# Activate the set of games.
dart pub global activate -sgit https://github.com/matanlurey/dartcade
dart pub global run dartcade:pong