{"id":17472475,"url":"https://github.com/sleeplessbyte/rubiesinspace","last_synced_at":"2026-06-13T11:33:39.113Z","repository":{"id":9143691,"uuid":"10935888","full_name":"SleeplessByte/RubiesInSpace","owner":"SleeplessByte","description":"Ruby Programming Game In Space","archived":false,"fork":false,"pushed_at":"2023-03-16T03:26:41.000Z","size":990,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-12T06:06:03.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"rubiesinspace.com","language":"Ruby","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/SleeplessByte.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":"2013-06-25T10:53:23.000Z","updated_at":"2018-09-25T17:32:59.000Z","dependencies_parsed_at":"2024-11-14T07:18:15.602Z","dependency_job_id":null,"html_url":"https://github.com/SleeplessByte/RubiesInSpace","commit_stats":{"total_commits":97,"total_committers":2,"mean_commits":48.5,"dds":0.1030927835051546,"last_synced_commit":"46c9d9dbc5a2d132b550b4d41294bcd65899348c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SleeplessByte/RubiesInSpace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2FRubiesInSpace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2FRubiesInSpace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2FRubiesInSpace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2FRubiesInSpace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SleeplessByte","download_url":"https://codeload.github.com/SleeplessByte/RubiesInSpace/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SleeplessByte%2FRubiesInSpace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34283390,"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-06-13T02:00:06.617Z","response_time":62,"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-18T17:18:37.340Z","updated_at":"2026-06-13T11:33:39.096Z","avatar_url":"https://github.com/SleeplessByte.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rubies In Space\n=============\nFind some Rubies by building your own agent in Ruby\n\nWhat is _Rubies in Space_\n----------------------\n_Rubies in Space_ is a Programming Game in **Ruby** that takes place in space. Instead of simulation a grid based world where the main point is creating the best swarm tactic, _Rubies in Space_ evolves around **RTS** and **RPG** tactics. \n\nAs far as I know (and searched - not that I looked thoroughly) there is no such thing and especially no such thing in Ruby. There is so much software for Ruby, but not a lot of games, simply because it isn't suited very well for games. That said, I don't really care. So let's go! -- this is a DRAFT\n\nHow to Win the Game\n----------------------\nIn _Rubies in Space_ you control ships by providing the [crew](https://github.com/Derkje-J/RubiesInSpace/wiki/Crew). You have two goals:\n- Stay alive by keeping the [ship](https://github.com/Derkje-J/RubiesInSpace/wiki/Ship) alive\n- Find the **Ruby**\n\nThere latter is hidden in one of the many asteroids and can only be found by drilling with a special **Drill** that has to be researched and build. More on this later. You stay alive by keeping the energy level of the ship above 0.\n\nGame Rules\n----------------------\nThere are three rules:\n- You have access to the `./interface` folder. The `iship.rb` file contains a class `Ship::Interface`. When your **crew** is assigned a **ship**, it will be passed on an instance of this interface. Use it to control the ship. Don't try to extend, read, send, access the internals. That's just lame.\n- If you want to use a `Randomizer`, use `Ship::Interface#rand`, `Ship::Interface#rand(n)` or `Ship::Interface#bytes(n)`. The reason is that we can then simulate the complete game again by passing in the seed.\n- Try to keep your code fast. In later versions you will be penalized.\n\nParticipation\n----------------------\nAt this moment the best way is to **Fork** this repo and provide a new **Crew** in the `./crew` folder. I am working on an online tournament system, other game modes and so forth and on. \n\nGame World\n----------------------\nSee the [wiki](https://github.com/Derkje-J/RubiesInSpace/wiki/Home)\n\nSetup / Simulate\n----------------------\n- Install ruby 2.0.0\n- `bundle install`\n- `ruby server.rb`\n- Browse to `localhost:4567`\n- See the [wiki entry](https://github.com/Derkje-J/RubiesInSpace/wiki/Installation)\n\n~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~\n\nProgress\n-------------\n### Environment\nSpace\n- \u0026#x2611; is a graph\n\nNodes are\n- \u0026#x2611; A Star or\n    - \u0026#x2611; sustainable deuterium at a rate\n    - \u0026#x2611; has a size [ does nothing yet ]\n    - \u0026#x2611; has temperature [ does nothing yet ]\n    - Events\n        - \u0026#x2610; solar flares [ damage ]\n        - \u0026#x2610; death [ kills nodes -\u003e asteroids ]\n- \u0026#x2611; A planet or\n    - \u0026#x2611; non-renewable deuterium\n    - \u0026#x2611; has a size [ does nothing yet ]\n    - A building\n        - \u0026#x2610; A lab or\n        - \u0026#x2610; A factory or\n        - \u0026#x2611; nothing\n- \u0026#x2611; An asteroid\n    - \u0026#x2611; non-renewable deuterium\n    - \u0026#x2610; the ruby\n\nPathways are between two nodes\n- \u0026#x2611; have a distance\n\n### Player\n- \u0026#x2611; has a ship\n- \u0026#x2610; may build new ships\n- \u0026#x2611; maintain a crew [ the agent program ]\n\n### Ship Actions\n- \u0026#x2611; You can only do one thing at a time\n- \u0026#x2611; scan\n    - \u0026#x2611; yields a ScanReport\n        - \u0026#x2611; the properties of the location\n        - \u0026#x2611; enemies at location\n        - \u0026#x2611; friendlies at location\n        - \u0026#x2610; tech provides more/less information\n            - \u0026#x2610; blocking stuff\n            - \u0026#x2611; enabling stuff\n- \u0026#x2611; travel\n    - \u0026#x2611; traverse a path\n    - \u0026#x2611; yields a Travel Report\n        - \u0026#x2611; destination name\n        - \u0026#x2611; consumed energy\n- \u0026#x2610; communicate\n    - \u0026#x2610; broadcast data\n    - \u0026#x2611; yields a Communicate Report\n- \u0026#x2611; attack\n    - \u0026#x2611; attacks a player\n    - \u0026#x2611; yields an attack event\n    - \u0026#x2611; attacked player can determine action\n    - \u0026#x2611; yields a Battle Report\n- \u0026#x2610; build\n    - \u0026#x2610; builds new ships, upgrades, tech\n    - \u0026#x2611; yields a Build Report\n- \u0026#x2610; research\n    - \u0026#x2610; research tech, upgrades\n    - \u0026#x2611; yields a Research Report\n- \u0026#x2611; collect\n    - \u0026#x2611; collect deuterium\n    - \u0026#x2611; yields a Collect Report\n        - \u0026#x2611; collected deut\n- \u0026#x2610; transfer\n    - \u0026#x2610; send deut to other ship\n    - \u0026#x2611; yields a Transfer Report\n        - \u0026#x2610; transfered deut\n\n- Resources\n    - \u0026#x2611; deuterium\n    - \u0026#x2611; time\n\n### Ship Stats and Components\nEach component has its own stats\n- \u0026#x2611; engine\n    - \u0026#x2611; power\n    - \u0026#x2611; warmup\n    - \u0026#x2611; cooldown\n- \u0026#x2611; reactor\n    - \u0026#x2611; efficiency\n- \u0026#x2611; collector\n    - \u0026#x2611; warmup\n    - \u0026#x2611; power\n- \u0026#x2611; scanner\n    - \u0026#x2611; efficiency\n- \u0026#x2611; weapons rack\n    - \u0026#x2611; warmup\n    - \u0026#x2611; rate\n    - \u0026#x2611; power\n- \u0026#x2611; command center\n\n### Build\n\n### Research\nTechTree\n- \u0026#x2610; Better efficiency\n- \u0026#x2610; Better weapons\n- \u0026#x2610; Better ...\n- \u0026#x2610; Passive Scanner\n- \u0026#x2610; Passive Collector\n- \u0026#x2610; Ruby miner\n\n### End Conditions\n- \u0026#x2610; Survival of the rubiest ( find rubies! )\n- \u0026#x2611; Survival of the fittest ( last standing )\n\n#### Events\nThere will be Random events\n- \u0026#x2610; Solar flares\n- \u0026#x2610; Super nova\n- ...\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleeplessbyte%2Frubiesinspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsleeplessbyte%2Frubiesinspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsleeplessbyte%2Frubiesinspace/lists"}