{"id":13694429,"url":"https://github.com/rwema3/Space_Empires","last_synced_at":"2025-05-03T03:31:47.631Z","repository":{"id":37446714,"uuid":"482738760","full_name":"rwema3/Space_Empires","owner":"rwema3","description":"Space_Emnpires","archived":false,"fork":false,"pushed_at":"2022-08-03T09:41:11.000Z","size":11882,"stargazers_count":35,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-03T17:19:52.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rwema3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-18T06:24:38.000Z","updated_at":"2023-10-31T20:22:08.000Z","dependencies_parsed_at":"2022-07-15T21:30:50.426Z","dependency_job_id":null,"html_url":"https://github.com/rwema3/Space_Empires","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwema3%2FSpace_Empires","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwema3%2FSpace_Empires/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwema3%2FSpace_Empires/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwema3%2FSpace_Empires/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwema3","download_url":"https://codeload.github.com/rwema3/Space_Empires/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224352120,"owners_count":17297022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T17:01:31.753Z","updated_at":"2024-11-12T21:30:25.767Z","avatar_url":"https://github.com/rwema3.png","language":"Dart","funding_links":[],"categories":["Misc"],"sub_categories":["Flutter"],"readme":"![Dart](https://img.shields.io/badge/Dart-0175C2?logo=dart\u0026logoColor=white?longCache=true\u0026style=flat-square) [![Flutter](https://img.shields.io/badge/Flutter-02569B?logo=flutter\u0026logoColor=white\u0026longCache=true\u0026style=flat-square)](https://flutter.dev/)\n[![Awesome Flutter](https://img.shields.io/badge/Awesome-Flutter-blue.svg?longCache=true\u0026style=flat-square)](https://github.com/Solido/awesome-flutter) [![style: lint](https://img.shields.io/badge/style-lint-4BC0F5.svg?longCache=true\u0026style=flat-square)](https://pub.dev/packages/lint) \n\n# Space Empires 🛸\n\n\n![](https://user-images.githubusercontent.com/62766656/123627533-c11e8f00-d82f-11eb-87c3-4aef12d03b1c.png)\n\n\n### Introduction 🚀\n\n\u003e Space Empires\nA 4X Space themed Strategy Game made with Flutter\n\n\n### Developer 🙏\n\n\u003eBagirishya Rwema Dominique\n\n- [Rwema](https://twitter.com/R_w_e_m_a)\n\n\n### Usage 🎨\n\nTo clone and run this application, you'll need [git](https://git-scm.com) and [flutter](https://flutter.dev/docs/get-started/install) installed on your computer. From your command line:\n\n```bash\n# Clone this repository\n$ git clone https://github.com/rwema3/Space_Empires\n\n# Go into the repository\n$ cd space_empires\n\n# Install dependencies\n$ flutter packages get\n\n# Run the app\n$ flutter run\n```\n\n\n## Features ⚡ \n\n- Cross Platform\n    - Web (Tested)\n    - Android (Tested)\n    - Ios (Not Tested)\n- Responsive (Works in both Orientations)\n- Adaptive (Works Beautifully in almost all screen sizes)\n- A basic custom Computer AI\n\n## Current Progress ✔️\n\n- All the Essential Screens/Views are done\n- All the required actions for Player and Computer are defined and working\n- All the Buildings/Stats/Upgrades/Ships have the desired effect\n- The game follows all the defined rules\n- Computer AI can take all the actions, just like a regular player\n- Null-Safe and follows Lint Guidlines\n\n## Things that need attention 🔧\n\n- A better budget allocation strategy for computer AI\n- The AI can be too aggressive sometimes\n- A better chat and relations strategy for Computer AI\n- A more balanced Stats allocation and reward system\n- Audio Effects \n- Refactoring and Optimization\n- Your health and happiness :)\n\nMost of these can be fixed by just tweaking the constant values and numbers. (services\u003egame.dart)\nAssociated TODO tags can be found over the Project, so feel free to play around with the values.\nThe Project will remain open-source and any contribution or feedback will be highly appreciated\n\n\n\n### Packages 📦\n\n\nThese are the packages used in this Project\n\n\n\nPackage | Description\n---|---\n[after_layout](https://pub.dev/packages/after_layout) | Helps execute code after the first layout of a widget has been performed\n[animated_text_kit](https://pub.dev/packages/animated_text_kit) | Provides Cool and Beautiful Text Animations\n[carousel_slider](https://pub.dev/packages/carousel_slider) | For Slidable Cards\n[flutter_animated_dialog](https://pub.dev/packages/flutter_animated_dialog) | For Animated Dialogs\n[flutter_staggered_grid_view](https://pub.dev/packages/flutter_staggered_grid_view) | For Planets Alignment\n[flutter_svg](https://pub.dev/packages/flutter_svg) | To render SVG\n[provider](https://pub.flutter-io.cn/packages/provider) | Provider State Management\n[lottie](https://pub.dev/packages/lottie) | For Lottie Animations\n[sizer](https://pub.dev/packages/sizer) | Helps with Responsiveness\n[rive](https://pub.dev/packages/rive) | For Rive Animations\n[shared_preferences](https://pub.dev/packages/shared_preferences) | For Data Persistance\n[lint](https://pub.flutter-io.cn/packages/lint) | Rules handler for Dart\n\n\n\n### Directory Structure 🏢\n\nThe project directory structure is as follows:\n\n```\n├── android\n├── asset\n├── build\n├── ios\n├── lib\n├── analysis_options.yaml\n├── pubspec.lock\n├── pubspec.yaml\n\n```\n\n![image](https://user-images.githubusercontent.com/62766656/123632625-c8489b80-d835-11eb-80e2-d19e17c15cec.png)\n\n\n\n\nDirectory | Description\n---|---\nmodels | Contains Model Class for Ships, Planets, Rulers\nscreens | Contains the UI class for all the Screens\nservices | Contains the Game Service, Player Service and all Core Logic\nutility | Contains app-wide constants, common functions\nwidgets | Contains UI Blocks and Other Functional Elements\n\n# Some shots from the Game (old)\n\n![welcome_screen_landscape](https://user-images.githubusercontent.com/62766656/120899766-f11eac00-c64e-11eb-912b-f7983dfbf73d.jpg)\n\n## Game Screen\n\n\u003cimg src=\"https://user-images.githubusercontent.com/62766656/120899823-3a6efb80-c64f-11eb-9fa3-8425aafb51b0.jpg\" width=\"270\" height=\"600\"\u003e   \u003cimg src=\"https://user-images.githubusercontent.com/62766656/120899922-b23d2600-c64f-11eb-9b6b-7a052cda5894.jpg\" width=\"270\" height=\"600\"\u003e   \u003cimg src=\"https://user-images.githubusercontent.com/62766656/120899938-d0a32180-c64f-11eb-939f-adf76a5bb0f3.jpg\" width=\"270\" height=\"600\"\u003e\n\n\n## Control Panels\n\n\u003cimg src=\"https://user-images.githubusercontent.com/62766656/120899975-03e5b080-c650-11eb-881c-6c54db23ea19.jpg\" width=\"270\" height=\"600\"\u003e   \u003cimg src=\"https://user-images.githubusercontent.com/62766656/120899985-17911700-c650-11eb-9ef3-d99cb9cc3cec.jpg\" width=\"270\" height=\"600\"\u003e   \u003cimg src=\"https://user-images.githubusercontent.com/62766656/120900002-2d9ed780-c650-11eb-801f-f56af6901911.jpg\" width=\"270\" height=\"600\"\u003e\n\n\n## Planet Info\n\n![planet_stats_landscape](https://user-images.githubusercontent.com/62766656/120899479-90db3a80-c64d-11eb-9f1d-9272da8bd67b.jpg) ![planet_upgrades_landscape](https://user-images.githubusercontent.com/62766656/120899484-989adf00-c64d-11eb-9908-b05007a5b310.jpg) ![planet_defense_landscape](https://user-images.githubusercontent.com/62766656/120899489-a05a8380-c64d-11eb-9b49-d8e9336d6abc.jpg)\n\n## God Bless You, Murakoze!\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwema3%2FSpace_Empires","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwema3%2FSpace_Empires","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwema3%2FSpace_Empires/lists"}