An open API service indexing awesome lists of open source software.

https://github.com/matanlurey/dartcade

A simple set of terminal-based arcade games written in pure Dart.
https://github.com/matanlurey/dartcade

arcade dart retro terminal

Last synced: 8 days ago
JSON representation

A simple set of terminal-based arcade games written in pure Dart.

Awesome Lists containing this project

README

          

# dartcade

A simple set of terminal-based arcade games written in pure Dart.

[![Github action status][gha_img]][gha_url]
[![Style guide][sty_img]][sty_url]

[gha_url]: https://github.com/matanlurey/dartcade/actions
[gha_img]: https://github.com/matanlurey/dartcade/workflows/Dart/badge.svg
[sty_url]: https://pub.dev/packages/neodart
[sty_img]: https://img.shields.io/badge/style-neodart-9cf.svg

## Purpose

I was developing some simple 2D UI libraries (such as [`package:griddle`][],
[`package:neokeys`][]), and I wanted a few motivating examples to make sure I
was on the right track and the libraries were providing the right kinds of
abstractions.

[`package:griddle`]: https://pub.dev/packages/griddle
[`package:neokeys`]: https://pub.dev/packages/neokeys

## Usage

Currently, you have two options: clone and build, or use [`dart pub global`][]:

```sh
# 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
```

[`dart pub global`]: https://dart.dev/tools/pub/cmd/pub-global