Space Themed Turn-Based Strategy Game developed in Flutter

Overview

Dart Flutter style: lint

Space Empires 🛸

Introduction 🚀

Space Empires A 4X Space themed Strategy Game made with Flutter

Complete Rules and Instruction can be accessed from the game or here

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

Attributions 🙏

All the assets used in this product belong to their rightful owners and were available for Non-Commercial Use

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/SatyamX64/space_empires

# Go into the repository
$ cd space_empires

# Install dependencies
$ flutter packages get

# Run the app
$ flutter run

Features

  • Cross Platform
    • Web (Tested)
    • Android (Tested)
    • Ios (Not Tested)
  • Responsive (Works in both Orientations)
  • Adaptive (Works Beautifully in almost all screen sizes)
  • A basic custom Computer AI

Current Progress ✔️

  • All the Essential Screens/Views are done
  • All the required actions for Player and Computer are defined and working
  • All the Buildings/Stats/Upgrades/Ships have the desired effect
  • The game follows all the defined rules
  • Computer AI can take all the actions, just like a regular player
  • Null-Safe and follows Lint Guidlines

Things that need attention 🔧

  • A better budget allocation strategy for computer AI
  • The AI can be too aggressive sometimes
  • A better chat and relations strategy for Computer AI
  • A more balanced Stats allocation and reward system
  • Audio Effects
  • Refactoring and Optimization
  • Your health and happiness :)

Most of these can be fixed by just tweaking the constant values and numbers. (services>game.dart) Associated TODO tags can be found over the Project, so feel free to play around with the values. The Project will remain open-source and any contribution or feedback will be highly appreciated

Packages 📦

These are the packages used in this Project

Package Description
after_layout Helps execute code after the first layout of a widget has been performed
animated_text_kit Provides Cool and Beautiful Text Animations
carousel_slider For Slidable Cards
flutter_animated_dialog For Animated Dialogs
flutter_staggered_grid_view For Planets Alignment
flutter_svg To render SVG
provider Provider State Management
lottie For Lottie Animations
sizer Helps with Responsiveness
rive For Rive Animations
shared_preferences For Data Persistance
lint Rules handler for Dart

Directory Structure 🏢

The project directory structure is as follows:

├── android
├── asset
├── build
├── ios
├── lib
├── analysis_options.yaml
├── pubspec.lock
├── pubspec.yaml

image

Directory Description
models Contains Model Class for Ships, Planets, Rulers
screens Contains the UI class for all the Screens
services Contains the Game Service, Player Service and all Core Logic
utility Contains app-wide constants, common functions
widgets Contains UI Blocks and Other Functional Elements

Some shots from the Game (old)

welcome_screen_landscape

Game Screen

Control Panels

Planet Info

planet_stats_landscape planet_upgrades_landscape planet_defense_landscape

You might also like...

The music app developed based on a dribble design.

The music app developed based on a dribble design.

Flutter Music App A new Flutter Flutter Music App built playing with animation and local music files from Soundcloud Getting Started For help getting

Dec 27, 2022

We created Flappy Bird, a straightforward game based on flutter animation, from scratch using only Dart & Flutter and no third-party games or animation components.

We created Flappy Bird, a straightforward game based on flutter animation, from scratch using only Dart & Flutter and no third-party games or animation components.

Flappy-Bird Description A ridiculous game created by Flutter, all you have to do is touch the screen to make the bird leap as long as you avoid the ba

Dec 25, 2022

Submission for the 2019 Flutter Create contents. Simple game 'loosely' based on Centipede.

Dash Run Remember the days of 8bit computing where we only had a few Kb to play with, the games were very simple and the graphics terrible? This is my

Feb 14, 2022

Flutter file based routing - File based routing and nested layouts for Flutter

Flutter File Based Routing I was inspired by the routing in remix.run with neste

Sep 29, 2022

A Flutter based to do list app (yes, another to do list... but... this time based on a beautiful design)

A Flutter based to do list app (yes, another to do list... but... this time based on a beautiful design)

✔️ Flutter to do App "To Do List" A Flutter app based on the design of the To Do App, created by Rudi Hartono, see more on: Uplabs. Getting Started 🚀

Dec 31, 2022

Facebook based-app - A Facebook based app which actually looks like Facebook

Facebook based-app - A Facebook based  app which actually looks like Facebook

Facebook based mobile application This project is a mobile application which act

Nov 23, 2022

Flutter-clean-architecture - A simple flutter project developed with TDD and using Clean Architecture principles.

Clean Architecture This is a study project to practice TDD and a good approach of Clean Architecture for flutter projects. It is based on Reso Coder s

Jul 21, 2022

Flutter-Wings - This is a structure for flutter developers developed by Invention Technology.

Flutter : Wings File Structure About Wings installation simple use Advance Use About Wings Wings is an MVC file structure build with getx for flutter

Nov 20, 2022

Bytebank - Mobile app developed with Flutter in the Flutter training courses on the Alura platform.

bytebank A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Feb 3, 2022
Owner
Satyam
Satyam
Dynamically themed Music Player built with flutter

?? Flutter Music Player Contact me email: [email protected] Gitter: https://gitter.im/Moda20TuneIn/community Thank you in advance ?? Getting Started

null 135 Dec 31, 2022
Rock-Paper-Scissor-Game-Using-Dart - This is a repository of Rock Paper Scissor Game which I developed while learning Dart.

Rock-Paper-Scissor-Game-Using-Dart This is a repository of Rock Paper Scissor Game which I developed while learning Dart. The main.dart file consist o

Nitin Varma 0 Jan 4, 2022
Gallery with thousands of photos, no time to organize, no way to search and not enough space

Artificial Intelligence-Powered Gallery Overview Gallery with thousands of photos, no time to organize, no way to search and not enough space; these a

Abd al-Rahman al-Ktefane 4 Jul 25, 2022
Mars - Space Travel

Mars - Space Travel Space Travel UI (created in flutter) Reference from: https://dribbble.com/shots/6520262-Mars. YouTube Link: https://www.youtube.co

null 115 Dec 26, 2022
Let's explore space together with SpaceApp? Within the SpaceApp application

Let's explore space together with SpaceApp? Within the SpaceApp application, it will give you brief information about the space vehicles renewed every day, the stars discovered. I am happy to present the SpaceApp interface to you.

Yusuf S. Kaygusuz 5 Dec 16, 2022
Multiplayer TicTacToe Game developed using Flutter, Node.js, Express, MongoDB & Mongoose.

Multiplayer TicTacToe Game A completely Responsive Multiplayer TicTacToe Game- Works on Android, iOS, Web & Desktop! Features Create/Join Room Play Re

Rivaan Ranawat 20 Dec 25, 2022
Tap Hero Game - An Open Source Flutter Game

Tap Hero ?? ?? TapHero is a casual tapping arcade game. This repo includes Android, iOS, Desktop (macOS, Windows, Linux). For Flutter Web, check the T

Mariano Zorrilla 159 Dec 19, 2022
Video game ui - Video Game App UI In Flutter!

video_game_ui A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Flutter Boy 11 Sep 6, 2022
Color matching game - A Crossplatform Color Matching Game made with Flutter

color_matching_game A Color Matching Game built with Flutter. It is a simple app made without adding a plug-in. Play by specifying the red, green and

Yusuke Ishimi 6 Nov 21, 2022
News App developed with Flutter featuring beautiful UI, category-based news, story for faster news reading, inbuilt article viewer, share feature, and more.

Ariel News App developed with Flutter featuring beautiful UI, category-based news, story for faster news reading, inbuilt article viewer, share featur

Hash Studios 30 Nov 9, 2022