landgrab is a board game and AI platform with multiple interfaces for playing.
Provided interfaces are a CLI app, a web app, and mobile apps. AIs can be compared through all interfaces.
The rules of the game are:
make to build all interfaces. More specifically:
make run_cli: Builds the CLI app.
make run_web: Builds the web app.
make mobile: Builds the mobile apps.
Run tests with
sh run_tests.sh. Pass the
--bench flag to also run
Run the CLI with
landgrab_run_cli after running
make run_cli. Accepted flags
--wait: Prompt the user to press enter before the next turn. Defaults to true.
--player1: Don't prompt the user for a player one and use this instead.
--player2: Don't prompt the user for a player two and use this instead.
Run the web application with
landgrab_run_web after running
Accepted flags are:
Add this to your package's pubspec.yaml file:
dependencies: landgrab: ^0.0.1
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.1||Apr 24, 2017|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
|Dart SDK||>=1.20.1 <2.0.0|