Skip to content

benjamin-klamerek/fantasy-realm-scoring

Repository files navigation

codecov

Fantasy Realms scoring app

Android scoring app for the game FantasyRealms

This app is a POC to learn android/kotlin. Tested with a Xiaomi red note 9 and many emulators.

Main features

  • score calculation helper
  • handle many languages
  • card recognition through camera using ML Kit. Only card titles required for recognition.

About development

  • During unit tests, if you encounter exception about version of Google service you have to install Play store
    • If Play Store is not available in your emulator, the only solution that I found is to manually update config.ini
For Windows, config.ini file can be found in : C:\Users\**YOURUSER**\.android\avd\**YOURDEVICE**.avd

Replace : 
 - "google_apis" by "google_apis_playstore" in the line starting by "image.sysdir.1=system-images..."
 - "PlayStore.enabled=false" by "PlayStore.enabled=true"
 - "tag.id=google_apis" by "tag.id=google_apis_playstore"

Open "AVD manager" in IDE and redownload...
  • Ensure that Google Play service is up to date in your emulator (also don't hesitate to clear cache)
  • OCR model are downloaded when needed by application but sometimes it can take a long time/number of retry to perform

About icons

Icons made by Freepik and Smashicons from www.flaticon.com