Giter VIP home page Giter VIP logo

ldpl-space-mines's Introduction

LDPL Space Mines

Software License Gitmoji

Space Mines BASIC

This 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. In the same year the game was released on tape for the ZX Spectrum 16K, click here for more information and a download link to the Spectrum tape image.

LDPL 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.

You can obtain the LDPL interpreter from here and once in your $PATH run the game by running ldpl spacemines.ldpl.

==================================================
YEAR 1:

There are 44 people in the colony.
You have 3 mines, and $1982
Satisfaction Factor 1

Your mines procuced 57 tons each.
ORE IN STORE=171 tons.
==================================================

SELLING
Ore selling price: 10
Mine selling price: 2999/mine
How much ore to sell? 171
How many mines to sell? 0

You have $3692

BUYING
How much to spend on food? $3500
Buying $3500 food
How many mines to buy? 0

The 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.

Scanned copies of the original BASIC source can be found in my porting of the game to Go here.

Enjoy.

ldpl-space-mines's People

Contributors

carbontwelve avatar iglosiggio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

iglosiggio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.