{"id":27183175,"url":"https://github.com/boreec/space-race","last_synced_at":"2025-04-09T15:55:34.281Z","repository":{"id":142676953,"uuid":"569586086","full_name":"boreec/Space-Race","owner":"boreec","description":"Implementation of the Space Race game, created by Atari.","archived":false,"fork":false,"pushed_at":"2023-10-09T07:42:52.000Z","size":605,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-10-09T08:42:49.490Z","etag":null,"topics":["arcade-game","atari-games","game","game-development","indiegame","rust","rust-lang","sdl2","sdl2-ttf","spacerace"],"latest_commit_sha":null,"homepage":"https://boreec.github.io/projects","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/boreec.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}},"created_at":"2022-11-23T06:54:30.000Z","updated_at":"2023-10-09T07:42:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"c75b19ff-a788-408c-9982-82dbd785cfb4","html_url":"https://github.com/boreec/Space-Race","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boreec%2FSpace-Race","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boreec%2FSpace-Race/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boreec%2FSpace-Race/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boreec%2FSpace-Race/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boreec","download_url":"https://codeload.github.com/boreec/Space-Race/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065111,"owners_count":21041867,"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":["arcade-game","atari-games","game","game-development","indiegame","rust","rust-lang","sdl2","sdl2-ttf","spacerace"],"created_at":"2025-04-09T15:55:33.760Z","updated_at":"2025-04-09T15:55:34.269Z","avatar_url":"https://github.com/boreec.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"warning: this repository is a backup mirror for https://gitlab.com/boreec/space-race\n\n# Space Race\n\nThis game is an amateur reproduction of the [Space Race](https://en.wikipedia.org/wiki/Space_Race_(video_game)) game initially created by Atari, Inc. in 1973.\n\nThis program was built completely with rust and the sdl2 bindings.\n\nI made a brief video of the game running on [youtube](https://www.youtube.com/watch?v=bzm3udWB7Kc)\n\n## How to run ?\n\nUse **cargo** to build and run the program:\n```bash\ncargo run --release\n```\n\n## Documentation\n\nIf you are interested in the code, you can read the documentation with:\n```bash\ncargo doc --open\n```\n\n## Gameplay\n\nYour goal is to pilot your spaceship (on the left) towards the top of screen, while avoiding missiles.\nYou have 45 seconds (indicated by the decreasing timeline in the middle of the screen) in order to score\nmore points than your opponent (on the right), controlled by the computer.\n\nEvery time you get touched by a missile, you respawn after a few seconds at the bottom of the screen!\nAlthough your opponent keeps moving upward without resting, it may not be the best strategy to win...\n\n### Controls\n\nYou can use the following keys during the game:\n* **ESC key** : Quit the game (you can also click on the window's cross).\n* **Space key**: Restart the game.\n* **Up arrow key**: Move your spaceship toward the top of the screen.\n* **Down arrow key**: Move your spaceship toward the bottom of the screen.\n\n### Images\n\u003cp float=\"left\"\u003e\n\u003cimg src=\"asset/img/disclaimer.png\" alt=\"disclaimer\" width=\"200\"/\u003e\n\u003cimg src=\"asset/img/game.png\" alt=\"game\" width=\"200\"/\u003e\n\u003cimg src=\"asset/img/game_over.png\" alt=\"game_over\" width=\"200\"/\u003e\n\u003c/p\u003e\n## Troubleshooting\n\nIf you have issues building the program, make sure the following packages are installed on the system:\n\n```bash\nsudo apt-get install -y libsdl2-dev libsdl2-ttf-dev libsdl2-gfx-1.0.0 libsdl2-gfx-dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboreec%2Fspace-race","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboreec%2Fspace-race","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboreec%2Fspace-race/lists"}