{"id":17149546,"url":"https://github.com/mohd-akram/st","last_synced_at":"2025-03-22T06:06:56.315Z","repository":{"id":65706564,"uuid":"592297458","full_name":"mohd-akram/st","owner":"mohd-akram","description":"C port of Ken Thompson's Space Travel","archived":false,"fork":false,"pushed_at":"2024-09-18T04:04:08.000Z","size":165,"stargazers_count":136,"open_issues_count":3,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-14T08:05:46.487Z","etag":null,"topics":["c","game","ken-thompson","space","space-travel","unix"],"latest_commit_sha":null,"homepage":"https://akr.am/st","language":"C","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/mohd-akram.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":"2023-01-23T12:31:20.000Z","updated_at":"2025-01-30T16:43:59.000Z","dependencies_parsed_at":"2024-09-17T18:50:55.405Z","dependency_job_id":null,"html_url":"https://github.com/mohd-akram/st","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/mohd-akram%2Fst","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohd-akram%2Fst/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohd-akram%2Fst/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohd-akram%2Fst/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohd-akram","download_url":"https://codeload.github.com/mohd-akram/st/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244913331,"owners_count":20530817,"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":["c","game","ken-thompson","space","space-travel","unix"],"created_at":"2024-10-14T21:33:24.704Z","updated_at":"2025-03-22T06:06:56.295Z","avatar_url":"https://github.com/mohd-akram.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Space Travel\n\nThis is a C port of Ken Thompson's\n[Space Travel](https://en.wikipedia.org/wiki/Space_Travel_\\(video_game\\)),\nported from PDP-7 assembly. The original source files are in `src/cmd/st*.s`\nin the [pdp7-unix](https://github.com/DoctorWkt/pdp7-unix) repository. The game\nis available to [play online](https://akr.am/st) via WebAssembly.\n\n## Install\n\nThe SDL2 library is required.\n\nRun `make` to build `st`.\n\nRun `make install` to install to `/usr/local/bin`.\n\nRun `make wasm` (requires [Emscripten](https://emscripten.org)) to build a\nWebAssembly version of the game. To play it, launch a web server via\n`python3 -m http.server -d html` and go to http://localhost:8000.\n\n## Controls\n\n| Key | Action       |\n|-----|--------------|\n| 1   | Quit         |\n| 2   | New game     |\n| 3   | Thrust down  |\n| 4   | Thrust up    |\n| 5   | Yaw right    |\n| 6   | Yaw left     |\n| 7   | Scale up     |\n| 8   | Scale down   |\n\nYou can also use the arrow keys for yaw and scale.\n\n## Gameplay\n\n\u003e For controls, there were several buttons: jet forward, jet back, turn left,\n\u003e turn right; go up scale on the display, go down scale. The acceleration of\n\u003e the ship was fixed, but it scaled with the display scale--it was thus fixed\n\u003e in terms of pixels/sec/sec. Normally the ship was in the center of the screen\n\u003e and always pointed up; the display showed the plan view of the solar system,\n\u003e so that the \"rotate\" controls rotated the solar system around you on the\n\u003e display.\n\u003e\n\u003e No relativity; scale up enough and you travel to Pluto in a few seconds. But\n\u003e don't scale up too much, or you might not find the Solar System again without\n\u003e restarting.\n\u003e\n\u003e The object of the game was simply to fly around, get into orbits, land.\n\u003e \"Land\" meant to cross the surface with a small enough speed.\n\u003e\n\u003e *[Space Travel: Exploring the solar system and the\n\u003e PDP-7](https://www.bell-labs.com/usr/dmr/www/spacetravel.html) by Dennis\n\u003e Ritchie*\n\nThe current dominating attractor, scale, and landing status (L/CL for\nlanded/crash landed) are displayed at the bottom. The moving dot on the line\nbelow the main view represents the horizontal velocity relative to the current\ndominating attractor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohd-akram%2Fst","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohd-akram%2Fst","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohd-akram%2Fst/lists"}