Mobile party game implemented in Flutter framework. Its been heavily inspired by the Heads Up! game:
- Get a group of friends (at least 3 players)
- Start the app
- The youngest player takes the phone
- Pick one of the available categories/topics (eg. Animals, TV series, Sport)
- Place the phone at your forehead, so that other players can see the screen
- Guess the word displayed at the screen - your friends are here to help you!
- Add language code to
getCodes
method in language.dart - Download language flag from here and put it in assets/images/flags/
- Make a copy of file intl_messages.arb and translate the sentences (not the ones prefixed by
@
). See the intl_messages_pl.arb for reference - When the translations are ready - run the
Generate translations
section - The UI is translated! The only remaining thing is to add own set of categories and questions in assets/data/. Each category consists of:
- id - unique identifier of category (just make sure it's unique across the file)
- image - image name for the category which is stored in assets/images/categories/. Feel free to add your own images - should be non-transparent, 400x400, PNG files. Can be downloaded from https://www.pexels.com/ or https://unsplash.com/
- name - category name in yours language
- questions - list of available questions - min. 50 per category, but more is better :)
- Done, new language added - PRs are more than welcome ❤️
flutter pub pub run intl_translation:extract_to_arb --output-dir=lib/l10n lib/localizations.dart
flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/localizations.dart lib/l10n/intl_*.arb