In Magic: The Gathering (MTG), tokens are "virtual" cards that are not a part of a player's library (deck) that are created by effects of other cards. Tokens are a crucial aspect of gameplay, but managing them can be cumbersome. In Limited games, players may not have access to the corresponding token cards, while in constructed formats, players must bring their own tokens. Players currently rely on manual methods for token management, such as using dice, temporary dry-erase cards, other objects to represent tokens, or official token cards.
These manual methods can add to the complexity, expense, room for error, and clutter of an already intricate game, making it difficult for players to focus on strategy, gameplay, and fun.
Token Tracker is an Android app that streamlines token management to enhance MTG gameplay and allows players to be more efficient and organized to play the game with tokens.
This project uses Gradle. To build and run the application, use the Gradle tool window by clicking the Gradle icon in the right-hand toolbar, or run it directly from the terminal:
- Run
./gradlew runto build and run the application. - Run
./gradlew buildto only build the application. - Run
./gradlew checkto run all checks, including tests. - Run
./gradlew cleanto clean all build outputs.
Note the usage of the Gradle Wrapper (./gradlew).
This is the suggested way to use Gradle in production projects.
Learn more about the Gradle Wrapper.
Learn more about Gradle tasks.
This project follows the suggested multi-module setup and consists of the app and utils subprojects.
The shared build logic was extracted to a convention plugin located in buildSrc.
This project uses a version catalog (see gradle/libs.versions.toml) to declare and version dependencies
and both a build cache and a configuration cache (see gradle.properties).