{"id":20512210,"url":"https://github.com/nidup/collect-and-conquer","last_synced_at":"2025-10-05T00:58:36.601Z","repository":{"id":72830823,"uuid":"88419603","full_name":"nidup/collect-and-conquer","owner":"nidup","description":"Small RTS game - Akeneo Game Jam #4","archived":false,"fork":false,"pushed_at":"2018-04-28T07:46:20.000Z","size":9904,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-05T00:58:34.020Z","etag":null,"topics":["ai","fsm","game-jam","map-generation","phaserjs","steering-behaviors","typescript"],"latest_commit_sha":null,"homepage":"https://nidup.itch.io/collect-and-conquer","language":"JavaScript","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/nidup.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-16T14:44:40.000Z","updated_at":"2024-11-24T06:04:37.000Z","dependencies_parsed_at":"2023-02-24T05:45:51.088Z","dependency_job_id":null,"html_url":"https://github.com/nidup/collect-and-conquer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nidup/collect-and-conquer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nidup%2Fcollect-and-conquer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nidup%2Fcollect-and-conquer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nidup%2Fcollect-and-conquer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nidup%2Fcollect-and-conquer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nidup","download_url":"https://codeload.github.com/nidup/collect-and-conquer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nidup%2Fcollect-and-conquer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278395909,"owners_count":25979690,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ai","fsm","game-jam","map-generation","phaserjs","steering-behaviors","typescript"],"created_at":"2024-11-15T20:40:21.455Z","updated_at":"2025-10-05T00:58:36.588Z","avatar_url":"https://github.com/nidup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collect \u0026 Conquer: Blue Alert\n\nMini RTS game developed for the Akeneo Game Jam #4.\n\nPlaying with steering behaviors, stacked FSM, A* path finding and procedural map generation.\n\n![Image of GameJam](doc/game-jam-4.jpg)\n\n# Demo\n\nYou can [play to the demo here](https://nidup.itch.io/collect-and-conquer)\n\n# Screenshots\n\n![Image of GameJam](doc/attack.png)\n\n# Getting Started to Dev\n\n## Pre-requisites\n\nYou need to have `docker` installed\n\n## Build the dev image\n\n```\ndocker build -t nidup/phaserjs .\n```\n\nYour image should appears in the list when typing,\n```\ndocker images\n```\n\n## Run the dev image\n\nRun to mount local project code inside the container and bind ports\n```\ndocker run --name phaserjs-ai-sandbox -v \"$PWD\":/usr/src/app -p 8080:8080 -d nidup/phaserjs\n```\n\nYour container should appears in the list when typing,\n```\ndocker ps\n```\n\n## Install / update project dependencies\n\n```\ndocker exec -it phaserjs-ai-sandbox npm install\n```\n\n## Running the project in dev mode:\n\nLaunch webpack server in watch mode,\n```\ndocker exec -it phaserjs-ai-sandbox npm run dev\n```\n\nYou can access your project in your browser,\n```\nhttp://localhost:8080/\n```\n\n# Deploy in production\n\nWe deploy online version directly from our Github repository with https://pages.github.com/\n\n## Checkout the gh-page and rebase master on\n\n```\ngit checkout gh-pages\ngit rebase master -i\n```\n\n## Build the bundle.js\n\n```\ndocker exec -it phaserjs-ai-sandbox npm run build\n```\n\n## Commit then push the bundle.js\n\n```\ngit add build/bundle.js\ngit commit\ngit push\n```\n\n## Check the deployment\n\nThe game is available on the following website,\n```\nhttps://nidup.github.io/phaserjs-ai-sandbox/\n```\n\n# Troubleshooting\n\n## Conflict. The container name \"/phaserjs-ai-sandbox\" is already in use by container\n\n```\ndocker rm phaserjs-ai-sandbox\n```\n\n# Utils\n\n## Connect in bash to the dev image\n\nRun,\n```\ndocker exec -it phaserjs-ai-sandbox bash\n```\n\nYour local files should be mounted in the container,\n```\nls\nDockerfile  LICENSE  README.md\tassets\tbin  doc  index.html  lib  package.json  src  tsconfig.json  webpack.config.js\n```\n\n# Resources\n\n## Steering Behavior\n\n - http://www.red3d.com/cwr/steer/\n - https://gamedevelopment.tutsplus.com/series/understanding-steering-behaviors--gamedev-12732\n\n## Finite State Machine\n\n - https://gamedevelopment.tutsplus.com/tutorials/finite-state-machines-theory-and-implementation--gamedev-11867\n\n## Assets\n\n - http://lunar.lostgarden.com/game_HardVacuum.htm\n\n## Sounds\n\n - https://phaser.io/examples/v2/audio/pause-and-resume\n - https://phaser.io/examples/v2/audio/sound-complete\n\n# Thanks\n\n - @grena for dat game jam org! :tada:\n - @pierallard for procedural map generation! :tada:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnidup%2Fcollect-and-conquer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnidup%2Fcollect-and-conquer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnidup%2Fcollect-and-conquer/lists"}