Human Life Game on Web. You can also create original Life

[WIP] HumanLifeGame

What’s this game ?

Play now Human Life Game on Web. You can also create original Life.

Development

Setup

  1. https://flutter.dev/docs/get-started/web
  2. cp config/.env.sample config/.env && vim config/.env

Local Hosting

firebase serve --only hosting

with Firebase Emulator

# Server Side
firebase emulators:start --only firestore,functions

then, run by main_emulator config. (Note: Auth Trigger is not supported)

Code Generate

flutter packages pub run build_runner build

i18n

  1. add English text to i18n/extensions/*.dart
  2. create arb files
./lib/i18n/create_arb.sh
  1. copy i18n/intl_messages.arb to i18n/intl_en.arb
  2. add Japanese text to i18n/intl_ja.arb
  3. create dart classes
./lib/i18n/create_message_class.sh
  1. you can call I18n.of(context).hoge

DartDoc

FLUTTER_HOME=~/development/flutter/ \
&& FLUTTER_ROOT=$FLUTTER_HOME dartdoc --output docs/ \
&& open docs/index.html

Download Details:

Author: sensuikan1973

Source Code: https://github.com/sensuikan1973/HumanLifeGame

#flutter #dart #mobile-apps

Human Life Game on Web. You can also create original Life
2.00 GEEK