{"id":22820136,"url":"https://github.com/photogabble/ldpl-space-mines","last_synced_at":"2026-01-11T02:19:24.445Z","repository":{"id":89239237,"uuid":"173913306","full_name":"photogabble/ldpl-space-mines","owner":"photogabble","description":"Command Line Space Mines Simulator Game ported from BASIC to LDPL","archived":false,"fork":false,"pushed_at":"2019-10-31T11:45:33.000Z","size":78,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T04:44:16.015Z","etag":null,"topics":["command-line-game","game","ldpl"],"latest_commit_sha":null,"homepage":"","language":null,"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-05T09:11:56.000Z","updated_at":"2025-01-31T09:22:26.000Z","dependencies_parsed_at":"2023-06-14T13:30:16.999Z","dependency_job_id":null,"html_url":"https://github.com/photogabble/ldpl-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%2Fldpl-space-mines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/photogabble%2Fldpl-space-mines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/photogabble%2Fldpl-space-mines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/photogabble%2Fldpl-space-mines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/photogabble","download_url":"https://codeload.github.com/photogabble/ldpl-space-mines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390858,"owners_count":20769478,"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-game","game","ldpl"],"created_at":"2024-12-12T15:16:31.538Z","updated_at":"2026-01-11T02:19:24.397Z","avatar_url":"https://github.com/photogabble.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# LDPL 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](/docs/spacemines.png \"Space Mines BASIC\")\n\nThis is a port to LDPL 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\n[LDPL](http://ldpl.lartu.net/) is a very simple interpreted programming language that mimics older languages like COBOL. Its author Martín del Río designed it from the ground up to be excessively expressive, readable and easy to learn.\n\nYou can obtain the LDPL interpreter from [here](https://github.com/Lartu/ldpl/releases) and once in your `$PATH` run the game by running `ldpl spacemines.ldpl`.\n\n```\n==================================================\nYEAR 1:\n\nThere are 44 people in the colony.\nYou have 3 mines, and $1982\nSatisfaction Factor 1\n\nYour mines procuced 57 tons each.\nORE IN STORE=171 tons.\n==================================================\n\nSELLING\nOre selling price: 10\nMine selling price: 2999/mine\nHow much ore to sell? 171\nHow many mines to sell? 0\n\nYou have $3692\n\nBUYING\nHow much to spend on food? $3500\nBuying $3500 food\nHow many 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\nScanned copies of the original BASIC source can be found in [my porting of the game to Go here](https://github.com/photogabble/go-space-mines).\n\nEnjoy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphotogabble%2Fldpl-space-mines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphotogabble%2Fldpl-space-mines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphotogabble%2Fldpl-space-mines/lists"}