Showing posts with label BASIC. Show all posts
Showing posts with label BASIC. Show all posts

Tuesday, 14 August 2018

BASICally speaking

A long time ago, before blogging was a thing, the Sci-Fi Gene has fond memories of learning to program on an early home computer, the BBC Model B. My efforts were written mainly in BASIC IV, with only a few very minor excursions into machine code. They were stored on C90 cassettes and later on 5" floppy disks - buying the double-sided disk drive was a major life event.

Most of my games and other programming experiments would be of interest only to myself. However one or two made it to the pages of user magazines and their monthly giveaway disks, and a few appeared on public domain lists. I was recently surprised to find that some of these games have been preserved at the Complete BBC Games Archive here - where they are playable online!

I present the games here not because they're particularly good - they're not, they're basic, derivative and barely playable - but because they're part of my journey and experience of the digital world, and because as a geeky teenager I learned a lot by writing them. The challenge of cramming a game into such limited memory (32K, minus anything from 1K to 20K for screen memory) and the limited graphics meant you had to try to be creative.



"Break Down"


"Supersonic Snail Racing"


"Myriapod"


"Telephone Mania"


"Space Detective" (apparently, in the future the word "apartment" is spelled differently)


"Wallaby Wrestling Federation"
Please note that no simulated wallabies were harmed in the making of this game.

Over the years I've experimented with other programming languages including Inform, C and Python as well as other BASIC-based languages including Scratch. I've come to realise two facts: firstly, I'm never going to be the next David Braben, and secondly, my brain's native language appears to be BASIC.

With thanks to the BBC Games Archive, and all who are responsible for maintaining it.

My games are playable here. Thank you for joining me on this pleasantly indulgent trip to nostalgiopia.

You can reach the main archive here. It's an extraordinary collection of full commercial releases - including classics such as Elite and Exile - as well as magazine giveaways, indie and amateur efforts such as my own, and, amazingly, games that are still being written for the Beeb right now.






Friday, 4 September 2015

Towards A Darker Tomorrow [Work In Progress: Dystopia City]

My next Scratch project is underway - a dystopia simulator inspired by EVERY YOUNG ADULT SCI-FI NOVEL EVER.

I don't want to reveal too much about the plot but I will say that if you are a fan of post-apocalyptic underground bunker-based cities, semi-fascist societies, factions, factions and factions then you may come to like this game.

But first I have to complete it. Programming challenges so far have included creating a scrolling map that can be changed as new tunnels are built, and having large numbers of dystopian citizens exploring it. One of the best features of Scratch is, it's surprisingly fast at parallel processing: so you can have large numbers of active sprites and still keep everything moving quickly, as long as each object has a fairly short routine.

Scratch is a browser-based programming language a little like BASIC, but with an easy to learn object-orientated structure and commands that click together LEGO-style. It's provided free by MIT here in order to encourage the younglings to take up programming.

When I started programming as a child (I was raised in BASIC IV) I learned by experimentation and mistake-making. Over the years I've learned a little of other languages: 6502 Assembler, Basic V, C, Inform, DarkBASIC, COFFEE, HTML and Python. Scratch is the first language I've tried that brings back that feeling of experimentation.