{"id":21042053,"url":"https://github.com/rcorre/damage_control","last_synced_at":"2026-02-19T12:31:56.211Z","repository":{"id":31432459,"uuid":"34996025","full_name":"rcorre/damage_control","owner":"rcorre","description":"Rampart-like game written in D","archived":false,"fork":false,"pushed_at":"2016-01-24T14:29:40.000Z","size":1313,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-19T11:53:02.356Z","etag":null,"topics":["d","game"],"latest_commit_sha":null,"homepage":null,"language":"D","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/rcorre.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":"2015-05-03T18:24:51.000Z","updated_at":"2021-01-01T19:00:38.000Z","dependencies_parsed_at":"2022-09-05T19:00:55.717Z","dependency_job_id":null,"html_url":"https://github.com/rcorre/damage_control","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rcorre/damage_control","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcorre%2Fdamage_control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcorre%2Fdamage_control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcorre%2Fdamage_control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcorre%2Fdamage_control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcorre","download_url":"https://codeload.github.com/rcorre/damage_control/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcorre%2Fdamage_control/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29613135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["d","game"],"created_at":"2024-11-19T13:57:15.667Z","updated_at":"2026-02-19T12:31:56.174Z","avatar_url":"https://github.com/rcorre.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"Damage Control\n===\n\n![Gameplay Screenshot](./screenshots/combat.png)\n\nDamage Control is a game similar to\n[Rampart](https://en.wikipedia.org/wiki/Rampart_(video_game)).\n\nThe source code is released under the\n[MIT License](http://opensource.org/licenses/MIT)\n\nThe music, sounds, and art are available under\n[CC-BY-SA 3.0](http://creativecommons.org/licenses/by-sa/3.0/).\n\nThe font used is\n[Mecha by Captain Falcon](http://www.fontspace.com/captain-falcon/mecha)\n\n# Give it a try!\n\n## Pre-built\nJust grab the most recent\n[release](https://github.com/rcorre/damage_control/releases) for your platorm,\nunpack it, and run the `damage_control` executable.\n\nThe linux binaries are statically linked to Allegro5, but other dependencies are\ndynamically linked. The Windows binaries just come packaged with a bunch of .dll\nfiles.\n\n## Build it yourself\nYou will need a [D compiler](http://dlang.org/download.html) and\n[dub](http://code.dlang.org) to compile the game,\n[aseprite](http://www.aseprite.org/) to generate the images, and\n[lmms](https://lmms.io/) to compile the music. You must use a recent version of\nLMMS (one which supports `--loop`, which is not in the current release).\n\nRunning `make` should do the trick. This will invoke `dub` to compile the code,\n`aseprite` to export `.ase` files to `.png`, and `lmms` to export `.mmpz` files\nto `.ogg`. You can usually ignore complaints that `lmms` failed to export a\nfile. This is a [known bug](https://github.com/LMMS/lmms/issues/588) where\n`lmms` will segfault at the end of rendering but still produce the output file.\n\n## Static Linkage\nTo link statically to Allegro, invoke `make debug-static` or\n`make release-static`.\nMake sure you run `git submodule update --init` first to get the allegro\nsources.\n\n# How to play\n\nAt the start of a match, you get to pick one of several starting locations. \nNow you just need to survive for a few rounds. Each round, you will:\n\n1. Place turrets within your territory\n2. Fend off enemies, taking them down with your turrets\n3. Place walls to repair the damage done\n\nIf, at the end of a round, you have no territory, you are defeated. Territory is\ndefined as an area completely enclosed by walls. The more territory you enclose,\nthe more turrets you can place. Each turret has limited ammo -- at the end of\neach round, you gain 6 ammo for each base you have enclosed (bases are the\nsquarish things on the map).\n\nDon't forget that you can use Q/E (default) to rotate blocks and hold shift\n(default) to move the cursor faster .\n\n# Credits:\n\n- Written in [D](http://dlang.org).\n- Using the [Allegro](https://allegro.cc/) game library.\n- Pixel art created with [Aseprite](http://aseprite.org).\n- Music created with [LMMS](https://lmms.io).\n- Maps created with [Tiled](http://mapeditor.org).\n- Sounds processed with [Audacity](http://www.audacityteam.org/).\n- Font: [Mecha by Captain Falcon](http://www.fontspace.com/captain-falcon/mecha)\n- Some sounds were generated with [bxfr](http://www.bfxr.net/).\n- Other sounds are just various recordings I took.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcorre%2Fdamage_control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcorre%2Fdamage_control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcorre%2Fdamage_control/lists"}