Skip to content

vintage/party_flutter

Repository files navigation

Party Flutter

Party Flutter

Join the chat at https://gitter.im/party_flutter/community CircleCI

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!

Download

Get it on Google Play Get it on the App Store

Preview Video

Preview Video

Screenshots

Screen 1 Screen 2 Screen 3 Screen 4 Screen 5 Screen 6 Screen 7 Screen 8

Adding new language

  1. Add language code to getCodes method in language.dart
  2. Download language flag from here and put it in assets/images/flags/
  3. 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
  4. When the translations are ready - run the Generate translations section
  5. 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 :)
  1. Done, new language added - PRs are more than welcome ❤️

Generate translations

  • 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

Resources