Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

A simple 2D multiplayer online game built using Flutter

Club Penguin

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:

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

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

Download 2D multiplayer online game source code on GitHub

https://github.com/Shadow60539/club_penguin_game
Exit mobile version