{"id":13600186,"url":"https://github.com/flutter/games","last_synced_at":"2025-04-13T08:57:06.486Z","repository":{"id":205062330,"uuid":"706838836","full_name":"flutter/games","owner":"flutter","description":"Home of the Flutter Casual Games Toolkit and other Flutter gaming templates","archived":false,"fork":false,"pushed_at":"2025-03-25T05:03:24.000Z","size":17167,"stargazers_count":666,"open_issues_count":0,"forks_count":672,"subscribers_count":54,"default_branch":"main","last_synced_at":"2025-04-06T05:09:33.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flutter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-18T18:03:36.000Z","updated_at":"2025-04-04T02:24:00.000Z","dependencies_parsed_at":"2024-09-22T01:01:04.102Z","dependency_job_id":"09ee6e89-dfc5-43c5-a836-109bdc5a5216","html_url":"https://github.com/flutter/games","commit_stats":{"total_commits":127,"total_committers":12,"mean_commits":"10.583333333333334","dds":0.5275590551181102,"last_synced_commit":"dba7207b9af281aa74bdeccd720fcddbd06737a9"},"previous_names":["flutter/games"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter%2Fgames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter%2Fgames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter%2Fgames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flutter%2Fgames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flutter","download_url":"https://codeload.github.com/flutter/games/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688543,"owners_count":21145764,"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-01T18:00:31.125Z","updated_at":"2025-04-13T08:57:06.464Z","avatar_url":"https://github.com/flutter.png","language":"Dart","readme":"# games\n\n[![Build Status](https://github.com/flutter/games/actions/workflows/main.yml/badge.svg)](https://github.com/flutter/games/actions/workflows/main.yml)\n\nHome to the official code for the Flutter Casual Games Toolkit \nand other Flutter gaming templates.\n\nVisit [flutter.dev/games](https://flutter.dev/games) for more information.\n\nIf you're new to Flutter, you first need to install the \n[Flutter SDK](https://flutter.dev/).\n\n\u003ca href=\"https://idx.google.com/new?template=https%3A%2F%2Fgithub.com%2Fflutter%2Fgames\"\u003e\n  \u003cpicture\u003e\n    \u003csource\n      media=\"(prefers-color-scheme: dark)\"\n      srcset=\"https://cdn.idx.dev/btn/try_light_32.svg\"\u003e\n    \u003csource\n      media=\"(prefers-color-scheme: light)\"\n      srcset=\"https://cdn.idx.dev/btn/try_dark_32.svg\"\u003e\n    \u003cimg\n      height=\"32\"\n      alt=\"Try in IDX\"\n      src=\"https://cdn.idx.dev/btn/try_purple_32.svg\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n## Organization\n\nThe projects in this repository are divided into two broad categories:\n\n1. **Templates.** A small number of starting points for your game project.\n   Templates are intended to give you a simple project structure\n   on top of which you can build your game.\n   They differ to accommodate different game types, \n   from the simplest casual games through drag\u0026drop board games\n   to 2D platformers.\n\n2. **Samples.** Intended to show functionality beyond the basics,\n   such as multiplayer or ads integration.\n\n\n```text\n.\n├── templates\n│   ├── basic\n│   ├── card\n│   └── endless_runner\n└── samples\n    ├── ads\n    ├── multiplayer\n    └── ...\n```\n\n\n## How to use\n\nThe easiest way to get any of the samples and templates from this repository\nis to install the \n[`sample_downloader` tool](https://pub.dev/packages/sample_downloader)\nand use it.\n\nOn the command line, while having the \n[Flutter SDK installed](https://docs.flutter.dev/get-started/install),\nrun the following command:\n\n```shell\ndart pub global activate sample_downloader\n```\n\nThen, from any directory, run the newly installed tool\nand follow its instructions.\n\n```shell\nsample_downloader\n```\n\n### The manual way\n\nIf, for any reason, you prefer not to use the `sample_downloader` tool,\nfollow these steps.\n\n1. Clone this repository.\n\n   To minimize download size, you can use a \n   [partial clone](https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/):\n\n   ```shell\n   git clone --filter=blob:none https://github.com/flutter/games.git\n   ```\n\n   (Alternatively, you can \n   [download the ZIP file](https://github.com/flutter/games/archive/refs/heads/main.zip)\n   and uncompress it on your workstation.)\n\n2. `cd` into the project you are interested in. For example:\n\n   ```shell\n   cd templates/card\n   ```\n\n   (Alternatively, you can copy the contents of a project to somewhere else,\n   and change to that directory.)\n\n3. (Optional) Rename the project with the \n   [`rename` tool](https://pub.dev/packages/rename).\n\n4. Open the project in your favorite editor and enjoy.\n\n\n## Interested in contributing?\n\nSee the [contributor's guide](CONTRIBUTING.md)!\n\n\n## Questions or issues?\n\nIf you have a general question about one of these samples or how to adapt its\ntechniques for one of your own apps, try one of these resources:\n\n* [The FlutterDev Discord](https://discord.gg/rflutterdev)\n* [The Flame Discord](https://discord.com/invite/pxrBmy4)\n* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter)\n\nIf you run into a bug in one of the samples, please file an issue in the\n[`flutter/flutter` issue tracker](https://github.com/flutter/flutter/issues).\n","funding_links":[],"categories":["Dart"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter%2Fgames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflutter%2Fgames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflutter%2Fgames/lists"}