{"id":19486515,"url":"https://github.com/phxql/restwars","last_synced_at":"2025-04-25T18:32:00.206Z","repository":{"id":18563299,"uuid":"21765535","full_name":"phxql/restwars","owner":"phxql","description":"An online game (like the good old browsergames) which can be played via a REST interface","archived":false,"fork":false,"pushed_at":"2017-10-27T12:54:02.000Z","size":1004,"stargazers_count":13,"open_issues_count":12,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-04T01:11:18.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phxql.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-12T11:22:15.000Z","updated_at":"2024-09-15T11:06:43.000Z","dependencies_parsed_at":"2022-09-06T17:40:55.237Z","dependency_job_id":null,"html_url":"https://github.com/phxql/restwars","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phxql%2Frestwars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phxql%2Frestwars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phxql%2Frestwars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phxql%2Frestwars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phxql","download_url":"https://codeload.github.com/phxql/restwars/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250872236,"owners_count":21500782,"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-11-10T20:38:07.162Z","updated_at":"2025-04-25T18:31:59.311Z","avatar_url":"https://github.com/phxql.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESTwars\nAn online game (like the good old browsergames) which can be played via a REST interface.\n\n[![Build Status](https://travis-ci.org/phxql/restwars.svg?branch=master)](https://travis-ci.org/phxql/restwars)\n\n* [Build RESTwars from source and get it running](https://github.com/phxql/restwars/blob/master/docs/build_from_source.md)\n* [Contributing](https://github.com/phxql/restwars/blob/master/docs/contributing.md)\n* [Webservice documentation](https://github.com/phxql/restwars/blob/master/docs/webservice.md)\n* [Write a bot](https://github.com/phxql/restwars/blob/master/docs/write_a_bot.md)\n* [Changelog](https://github.com/phxql/restwars/blob/master/CHANGELOG.md)\n\n## Universe\nThe game takes place in a universe. The universe consists of galaxies which consist of solar systems which consist of planets.\n\nEach planet is identified with a set of coordinates: `[g].[s].[p]` where `[g]` is the number of the galaxy, `[s]` is the number of the solar system inside the galaxy and `[p]` is the number of the planet inside the solar system.\n\n## New players \nNew players start with one planet in a randomized location in the universe.\n\n## Resources\n### Crystal\nCrystal is needed for every building, ship and research. Crystals can be stolen from attackers.\n\n### Gas\nGas is needed for every advanced technology. Gas can be stolen from attackers.\n\n### Energy\nEnergy is needed for every building, ship and research. Energy is also consumed when traveling with ships through the universe. Energy can't be stolen from attackers.\n\n## Buildings\n### Command center\nAllows the construction of other buildings. Upgrading the command center speeds up the construction of buildings.\n\n### Crystal mine\nGenerates crystals. Upgrading the mine increases the generation rate.\n\n### Gas refinery\nGenerates gas. Upgrading the refinery increases the generation rate.\n\n### Solar panels\nGenerates energy. Upgrading the panels increases the generation rate.\n\n### Shipyard\nAllows the construction of ships. Upgrading the shipyard speeds up the construction of ships.\n\n### Research center\nEnables research of technologies. Upgrading the research center speeds up the research.\n\n### Telescope\nEnables scanning the area around the planet. Upgrading the telescope widens the scan area and increases the range and accuracy of incoming enemy fleet detection.\n\n## Ships\n### Mosquito\nSmall and cheap fighter ship.\n\n### Dagger\nVery fast fighter ship.\n\n### Colony\nColonizes planets.\n\n### Probe\nFast and cheap scout.\n\n### Mule\nFreighter.\n\n### Daedalus\nSophisticated fighter ship.\n\n## Technology\n### Build cost reduction\nReduces the build cost for buildings.\n\n### Combustion engine\nReduces the flight cost for ships with combustion engines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphxql%2Frestwars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphxql%2Frestwars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphxql%2Frestwars/lists"}