{"id":16920722,"url":"https://github.com/dherault/wargame","last_synced_at":"2026-07-04T09:32:21.620Z","repository":{"id":66317015,"uuid":"171051203","full_name":"dherault/wargame","owner":"dherault","description":"A war game","archived":false,"fork":false,"pushed_at":"2019-04-27T14:03:48.000Z","size":12240,"stargazers_count":0,"open_issues_count":18,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T13:42:23.109Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://basicwars.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dherault.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-02-16T20:58:10.000Z","updated_at":"2019-04-27T14:03:50.000Z","dependencies_parsed_at":"2023-03-04T09:15:49.548Z","dependency_job_id":null,"html_url":"https://github.com/dherault/wargame","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dherault/wargame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fwargame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fwargame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fwargame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fwargame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dherault","download_url":"https://codeload.github.com/dherault/wargame/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fwargame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35117335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"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":[],"created_at":"2024-10-13T19:49:22.263Z","updated_at":"2026-07-04T09:32:21.609Z","avatar_url":"https://github.com/dherault.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic Wars\n\nA war game.\n\n## Installation\n\n```\nnpm install\nnpm start\n```\n\n## Deployment\n\n```\nnpm run build-deploy\n```\n\n## Glossary\n\n- Position: `{ x, y }`\n- Tile: string eg:  `'PLAIN'`\n\n## Tour of this repo\n\nBe familiar with React and Redux, then\n\n- Routes can be found in `src/index.js`, views in `src/components`\n- The domain game logic is in `src/lib/game`\n- The state game logic is in `src/state/reducers`\n- How side effects are handled is in `src/state/sagas`\n- How the canvas is drawn can is written is `src/lib/game/draw.js`\n- How the canvas listens to events can be found in `src/lib/game/registerCanvas`\n- How the AI works is in `src/lib/game/computeAiActions.js`\n- The maps defintions are stored under `src/lib/mapDefinitions`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdherault%2Fwargame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdherault%2Fwargame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdherault%2Fwargame/lists"}