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|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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]
Detected platforms: web
Changelog entries help clients to follow the progress in your code.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Fix analysis and formatting issues.
Analysis or formatting checks reported 6 hints.
Strong-mode analysis of
lib/src/component/board/component.dartgave the following hint:
line: 57 col: 18
'MILLISECONDS_PER_SECOND' is deprecated and shouldn't be used.
Strong-mode analysis of
lib/src/service/api.dartgave the following hint:
line: 42 col: 12
'JSON' is deprecated and shouldn't be used.
Similar analysis of the following files failed:
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.20.1 <2.0.0|