{"id":15055720,"url":"https://github.com/almasb/fxglgames","last_synced_at":"2025-05-14T21:06:16.159Z","repository":{"id":40443959,"uuid":"48744267","full_name":"AlmasB/FXGLGames","owner":"AlmasB","description":"This repo contains sample games built with FXGL","archived":false,"fork":false,"pushed_at":"2025-01-24T22:55:36.000Z","size":181416,"stargazers_count":865,"open_issues_count":16,"forks_count":335,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-05-14T21:06:10.164Z","etag":null,"topics":["2d","android","bomberman","breakout","flappy-bird","fxgl","games","geometry-wars","ios","java","javafx","kotlin","mario","pacman","pong","space-invaders","tic-tac-toe","tower-defense"],"latest_commit_sha":null,"homepage":"http://almasb.github.io/FXGLGames/","language":"Java","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/AlmasB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"AlmasB"}},"created_at":"2015-12-29T11:24:49.000Z","updated_at":"2025-05-14T09:07:49.000Z","dependencies_parsed_at":"2025-02-09T17:00:25.689Z","dependency_job_id":"6b7bb94c-3bd2-4fca-a5cc-827b49e769a6","html_url":"https://github.com/AlmasB/FXGLGames","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlmasB%2FFXGLGames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlmasB%2FFXGLGames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlmasB%2FFXGLGames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlmasB%2FFXGLGames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlmasB","download_url":"https://codeload.github.com/AlmasB/FXGLGames/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227611,"owners_count":22035669,"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":["2d","android","bomberman","breakout","flappy-bird","fxgl","games","geometry-wars","ios","java","javafx","kotlin","mario","pacman","pong","space-invaders","tic-tac-toe","tower-defense"],"created_at":"2024-09-24T21:45:51.951Z","updated_at":"2025-05-14T21:06:11.145Z","avatar_url":"https://github.com/AlmasB.png","language":"Java","readme":"This repo contains sample games built with \u003ca href=\"https://github.com/AlmasB/FXGL\"\u003eFXGL\u003c/a\u003e Game Library.\nEach game focuses on one or two aspects of FXGL, e.g. Drop focuses on bare minimums, Pac-man focuses on AI, etc.\n\nCheckout [this commit](https://github.com/AlmasB/FXGLGames/commit/a0821c76ba4a7a64dba4f9ec6f182827d909561c) for Java 8 code for all projects (FXGL 0.5.4).\nAll projects will eventually be upgraded to Java 11 code (FXGL 11.0+).\n\n## Run\n```bash\ncd PROJECT_NAME\nmvn javafx:run\n```\n\n## Build for Mobile\n\nFollow latest instructions from [client-samples](https://github.com/gluonhq/client-samples#build-and-run-the-samples). A relevant extract is copied below.\n\nFor example, to build Breakout for Android (can only build from Linux):\n\n1. Download [GraalVM](https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-20.2.0) zip: `graalvm-ce-java11-linux-amd64-20.2.0.tar.gz`\n\n2. Set `GRAALVM_HOME` and `JAVA_HOME` environment variables to the GraalVM installation directory. For example:\n\n```\nexport GRAALVM_HOME=/opt/graalvm-ce-java11-20.2.0\nexport JAVA_HOME=$GRAALVM_HOME\n```   \n\n3.\n\n```\ncd Breakout\nmvn clean client:build\nmvn client:package\n\n// connect your Android device and allow it installation over USB\n\nmvn client:install\n```\n\nYou can now run the game from Android, or you can run with logging from Linux: `mvn client:run`.\n\n## Contribute\n\nThese game demos are constantly upgraded, so feel free to fork and add something of your own.\n\n## Projects by difficulty\n\n### Beginner\n\n* [Cannon](Cannon)\n* [Drop](Drop)\n* [Tower Defense](TowerDefense)\n* [Bomberman](Bomberman)\n* [OutRun](OutRun) (in Kotlin)\n* [Shooter](Shooter)\n* [Space Runner](SpaceRunner)\n\n### Intermediate\n\n* [GeoJumper](GeoJumper) (in Kotlin)\n* [Pong](Pong)\n* [Breakout](Breakout)\n* [TicTacToe](TicTacToe)\n* [Battle Tanks](BattleTanks)\n* [Flappy Bird](FlappyBird)\n* [Slot Machine](SlotMachine)\n\n### Advanced\n\n* [Space Invaders](SpaceInvaders)\n* [Geometry Wars](GeometryWars)\n* [Mario](Mario)\n* [Pac-man](Pacman)\n\n## Community\n\nYou are very welcome to contribute to any of these games, or link to your own games.\nList of community developed games / demos: (Please add links below)\n\n* [FXGL based Idle Game](https://github.com/softknk/softknk.io) by Daniel Künkel.\n* [Greedy Snake Game](https://github.com/wuzirui/SnakeDungeon) by wuzirui\n","funding_links":["https://github.com/sponsors/AlmasB"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmasb%2Ffxglgames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falmasb%2Ffxglgames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmasb%2Ffxglgames/lists"}