{"id":22820096,"url":"https://github.com/photogabble/go-space-mines","last_synced_at":"2025-04-23T00:23:24.812Z","repository":{"id":57599931,"uuid":"90049338","full_name":"photogabble/go-space-mines","owner":"photogabble","description":"Command Line Space Mines Simulator Game ported from BASIC to Go","archived":false,"fork":false,"pushed_at":"2019-03-05T09:31:17.000Z","size":170,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T17:51:44.843Z","etag":null,"topics":["command-line","command-line-game","game","go","go-game","golang","golang-game","simulation"],"latest_commit_sha":null,"homepage":"","language":"Go","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/photogabble.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":"2017-05-02T15:33:28.000Z","updated_at":"2023-03-01T18:38:02.000Z","dependencies_parsed_at":"2022-09-26T19:53:37.983Z","dependency_job_id":null,"html_url":"https://github.com/photogabble/go-space-mines","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/photogabble%2Fgo-space-mines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/photogabble%2Fgo-space-mines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/photogabble%2Fgo-space-mines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/photogabble%2Fgo-space-mines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/photogabble","download_url":"https://codeload.github.com/photogabble/go-space-mines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250344929,"owners_count":21415217,"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":["command-line","command-line-game","game","go","go-game","golang","golang-game","simulation"],"created_at":"2024-12-12T15:16:21.339Z","updated_at":"2025-04-23T00:23:24.785Z","avatar_url":"https://github.com/photogabble.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Space Mines\n\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n[![Gitmoji](https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square)](https://gitmoji.carloscuesta.me)\n\n![Space Mines BASIC](/doc/spacemines.png \"Space Mines BASIC\")\n\nThis is a port to Go of a BASIC strategy/management game called Space Mines. The BASIC code was originally published in 1982 in an Usborne book titled [Computer Space-games](http://www.worldofspectrum.org/infoseek.cgi?regexp=^Computer+Spacegames$\u0026loadpics=1). In the same year the game was released on tape for the ZX Spectrum 16K, [click here](http://www.worldofspectrum.org/infoseekid.cgi?id=0019122) for more information and a download link to the Spectrum tape image.\n\nBuild using `go build` and then execute, you will be presented with output like so:\n\n```\nYear 1\nThere are 47 people in the colony\nYou have 4 mines and $ 799\nSatisfaction Factor  1\n\nYour mines produced  47 tons each\nOre in store: 188 tons\nSelling:\nOre selling price: $ 9 /ton\nMine selling price: $ 3487 /mine\nHow much ore to sell? 188\nHow many mines to sell? 1\n\nYou have $ 5978\n\nBuying\nHow much to spend on food? (Appr. $100 EA.) 2000\nHow many more mines to buy? 0\n```\n\nThe aim of the game is to survive 10 years in office; the original printed source contains variables for total amount of food and food price. However it doesn't actually use them.\n \n I have included scanned copies of the original source for [page 24](doc/isaaman-24.png) and [page 25](doc/isaaman-25.png) of the book this game was published in.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphotogabble%2Fgo-space-mines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphotogabble%2Fgo-space-mines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphotogabble%2Fgo-space-mines/lists"}