Club Penguin

June 27, 2021 ยท View on GitHub

Dart Flutter Test

Club Penguin

lib

Playstore

Introduction ๐Ÿš€

Club Penguin A multiplayer game involving penguins and anonymous chat in a virtual 2D world

Before we start, you can take a look at the app:

Output sample

Usage ๐ŸŽจ

To clone and run this application, you'll need git and flutter installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/Shadow60539/social_media_game.git

# Go into the repository
$ cd social_media_game.git

# Install dependencies
$ flutter packages get

# Run the app
$ flutter run

Packages ๐Ÿ“ฆ

Some very good packages are used in this project.

PackageDescription
flameA minimalistic Flutter game engine
firebase_authFirebase Authentication
firebase_coreTo use the Firebase Core API
firebase_databaseFirebase Realtime Database
dartzSupport functional programming in Dart
build_runnerBuild Custom Models
flutter_blocBLoC State Management
flutter_launcher_iconsReplace launcher icon
freezedCode generation for immutable classes
google_fontsSupport google fonts
injectableDependency injection
lintRules handler for Dart
lottieLottie files animations
mockitoMock library for Dart
providerProvider State Management

Directory Structure ๐Ÿข

The project directory structure is as follows:

โ”œโ”€โ”€ android
โ”œโ”€โ”€ asset
โ”œโ”€โ”€ build
โ”œโ”€โ”€ images
โ”œโ”€โ”€ ios
โ”œโ”€โ”€ lib
โ”œโ”€โ”€ test
โ”œโ”€โ”€ analysis_options.yaml
โ”œโ”€โ”€ pubspec.lock
โ”œโ”€โ”€ pubspec.yaml

lib

DirectoryDescription
applicationState management layer
coreCore files which depend on all these layers
domainModel and contract layer
infrastructureData layer
presentationWidget layer