{"id":26215123,"url":"https://github.com/cryscan/cruise","last_synced_at":"2026-02-26T12:02:15.101Z","repository":{"id":276082617,"uuid":"919585363","full_name":"cryscan/cruise","owner":"cryscan","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-18T13:44:54.000Z","size":569,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T19:11:22.369Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/cryscan.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,"zenodo":null}},"created_at":"2025-01-20T16:58:34.000Z","updated_at":"2025-02-18T13:44:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d950cba-7a39-48e5-af15-1608a6347e46","html_url":"https://github.com/cryscan/cruise","commit_stats":null,"previous_names":["cryscan/cruise"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cryscan/cruise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryscan%2Fcruise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryscan%2Fcruise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryscan%2Fcruise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryscan%2Fcruise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryscan","download_url":"https://codeload.github.com/cryscan/cruise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryscan%2Fcruise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29858461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: 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":[],"created_at":"2025-03-12T10:27:10.200Z","updated_at":"2026-02-26T12:02:15.085Z","avatar_url":"https://github.com/cryscan.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ark of Destinies\n\nA group of players are trapped on a cruise ship, forced to play a rock-paper-scissors game.\n\nEach player starts with these items:\n\n- 3 **stars**,\n- 10 **coins**,\n- 4 **paper** cards,\n- 4 **rock** cards, and\n- 4 **scissors** cards.\n\nThe rules:\n\n- Each player may play for at most 16 rounds, and in each round the player will be randomly assigned an opponent.\n- In each round, players duel by each drawing a card. The loser transfers one star to the winner.\n- Player will be immediately eliminated if the player loses all stars.\n- Player will be immediately safe if the player plays all cards while keeping at least 3 stars.\n- By the end of the game, players with cards left will also be eliminated. Players with no card but with less than 3 stars can use their coins to buy extra stars from safe players.\n- In each round, before the duel, the two players have the chance to freely negotiate and trade any resources.\n- After the game finishes, safe players are ranked by their **coins**.\n\n## Run the Simulation\n\n1. Launch [Ai00 Server](https://github.com/Ai00-X/ai00_server) locally, load the model.\n2. Launch this program and wait.\n3. Outputs are dumped into `./output/` after the game finishes. The outputs include all LLM calls and corresponding game states.\n\n### Notes for the UI\n\nI don't have time to implement a visualization yet.\nOnly an inspector with players and their resources are shown.\n\n## Example Rollout\n\nHere is an example rollout for one round. Note that\n\n- Green underlined words are filled by the program;\n- Yellow lines are AI generated for the assistant role `Stellaris (AI)`;\n- Red lines are AI generated for the opponent role;\n- Blue lines are AI generated for the player role;\n- This example doesn't include branches when the player role makes decisions.\n\n![rollout](rollout.png)\n\nThe above is an example of RWKV V7 2.9B rollout. The model has not been tuned for gaming yet so I didn't expect it to understand the rules deeply. However I believe that after enough rollout being collected, an RL algorithm can be used in training different roles, and finally it is possible to get a helpful `Stellaris (AI)`, and an experienced player.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryscan%2Fcruise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryscan%2Fcruise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryscan%2Fcruise/lists"}