{"id":21320340,"url":"https://github.com/turkeymcmac/vec-rac","last_synced_at":"2025-03-15T22:33:34.859Z","repository":{"id":57671516,"uuid":"228258705","full_name":"TurkeyMcMac/vec-rac","owner":"TurkeyMcMac","description":"AI vector racing","archived":false,"fork":false,"pushed_at":"2020-01-05T18:30:17.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T11:30:54.405Z","etag":null,"topics":["ai","neural-network","simulation"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/TurkeyMcMac.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":"2019-12-15T21:56:19.000Z","updated_at":"2020-01-05T18:30:19.000Z","dependencies_parsed_at":"2022-08-30T12:51:28.747Z","dependency_job_id":null,"html_url":"https://github.com/TurkeyMcMac/vec-rac","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/TurkeyMcMac%2Fvec-rac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurkeyMcMac%2Fvec-rac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurkeyMcMac%2Fvec-rac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TurkeyMcMac%2Fvec-rac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TurkeyMcMac","download_url":"https://codeload.github.com/TurkeyMcMac/vec-rac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801600,"owners_count":20350105,"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":["ai","neural-network","simulation"],"created_at":"2024-11-21T19:47:07.762Z","updated_at":"2025-03-15T22:33:29.851Z","avatar_url":"https://github.com/TurkeyMcMac.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vec(tor)-rac(ing)\n\nThis is a simulation of racers on a grid containing a racetrack with walls\nbeside it. Each turn, a racer can accelerate one unit in one of the cardinal\ndirections or can do nothing. There is no friction. I myself did not come up\nwith the game, which is traditionally played by hand with graph paper. My\nversion features a randomly generated, infinite track and racers driven by\nartificial intelligence (a neural network). Racers improve through natural\nselection. A racer is scored primarily on how far upward it gets and secondarily\non how long its race took.\n\n## Installation\n\nYou can clone the repository and build the program with cargo, or you can\ninstall the binary like this:\n\n```\ncargo install vec-rac\n```\n\nI suggest the latter method.\n\n## Running the Simulation\n\nThe program makes use of all available cores to find better racers, but doing so\ncan still take a while; I suggest you run the program with optimizations on.\nWhen a new best racer is found, a movie is played of its accomplishment. I have\nnot implemented saving of racers, so to record your progress, you should run the\nprogram something like this:\n\n```\nasciinema rec -i 1 -c 'vec-rac ...'\n```\n\nAsciinema is a separate program. The above command runs the command after `-c`\nand squashes pause times (when new racers are being generated) to at most one\nsecond. You can rewatch the progression this way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturkeymcmac%2Fvec-rac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturkeymcmac%2Fvec-rac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturkeymcmac%2Fvec-rac/lists"}