Boxing Game

Anything QL Software or Programming Related.
Post Reply
User avatar
dden
ROM Dongle
Posts: 43
Joined: Thu Jan 19, 2017 8:56 am

Boxing Game

Post by dden »

Apparently there was a request on the Online Chat last week for someone to write a boxing game for QL.

Although I didn't write it, here is a conversion of a Boxing listing from Creative Computing to QL Superbasic. I think it appeared in the book Basic Computer Games by David Ahl.

No frills - it runs and could do with some extra work to enhance it, ideal for anyone wishing to tinker while holed up with their QLs if snowed out in your area. For example, it's full of GOTOs and not at all structured. Both the original Microsoft Basic version (boxing.asc) and QL Superbasic (boxing_bas) are included.
Attachments
boxing.zip
Boxing game written in BASIC.
(3.75 KiB) Downloaded 140 times


David
Derek_Stewart
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Boxing Game

Post by Derek_Stewart »

Hi,

I have over 80 MS Basic games supporting the BASIC Computer Games book to convert, which includes the Boxing game.

I have only converted 2 games, as I have been a little busy.

When I get time I will finish the conversion and post them on the QL Homepage.


Regards,

Derek
User avatar
pjw
QL Wafer Drive
Posts: 1286
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Re: Boxing Game

Post by pjw »

Derek_Stewart wrote:Hi,

I have over 80 MS Basic games supporting the BASIC Computer Games book to convert, which includes the Boxing game.

I have only converted 2 games, as I have been a little busy.

When I get time I will finish the conversion and post them on the QL Homepage.
With 78 games to convert, wouldnt it be easier to write a MS Basic to S*BASIC converter?


Per
dont be happy. worry
- ?
Derek_Stewart
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Boxing Game

Post by Derek_Stewart »

pjw wrote:
Derek_Stewart wrote:Hi,

I have over 80 MS Basic games supporting the BASIC Computer Games book to convert, which includes the Boxing game.

I have only converted 2 games, as I have been a little busy.

When I get time I will finish the conversion and post them on the QL Homepage.
With 78 games to convert, wouldnt it be easier to write a MS Basic to S*BASIC converter?
Hi Per,

I am going to do that, after converting 2 games, a converter seemed the best way to convert the rest.

The boxing game came from this book:

https://www.google.co.uk/url?sa=t&rct=j ... WVVslJDOy6

You do not have to type in the games, as there is a support file(s) with the basic source code, at:

http://www.vintage-basic.net/games.html

Also on Archive.org there is the TRS80 More Computer Games

https://archive.org/details/More_BASIC_ ... _Computing


Regards,

Derek
User avatar
dden
ROM Dongle
Posts: 43
Joined: Thu Jan 19, 2017 8:56 am

Re: Boxing Game

Post by dden »

pjw wrote:
Derek_Stewart wrote:Hi,

I have over 80 MS Basic games supporting the BASIC Computer Games book to convert, which includes the Boxing game.

I have only converted 2 games, as I have been a little busy.

When I get time I will finish the conversion and post them on the QL Homepage.
With 78 games to convert, wouldnt it be easier to write a MS Basic to S*BASIC converter?
Of course it would. Time and skills permitting.

In the meantime, there is my guide to converting and detokenising Micro$oft Basic programs, on Dilwyn's site at

http://www.dilwyn.me.uk/basic/index.html


David
Derek_Stewart
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Boxing Game

Post by Derek_Stewart »

dden wrote: Of course it would. Time and skills permitting.

In the meantime, there is my guide to converting and detokenising Micro$oft Basic programs, on Dilwyn's site at

http://www.dilwyn.me.uk/basic/index.html
Hi David,

I use your guide all the time. It is very good.


Regards,

Derek
User avatar
Cristian
Aurora
Posts: 960
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: Boxing Game

Post by Cristian »

I've never thought it would have been possible to create such a "boxing" game... probably my mind is too stuck in Final Round and Street Fighter :mrgreen:


User avatar
janbredenbeek
Super Gold Card
Posts: 629
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Boxing Game

Post by janbredenbeek »

If you want to convert old MS BASIC programs to the QL you might want to have a look at my BASICODE translator: https://github.com/janbredenbeek/QL-Basicode

I developed this to run BASICODE programs transmitted on the radio in the Netherlands (also in UK and Germany) which were largely based on a subset of MS Basic, with machine-specific commands replaced with standard subroutines below 1000.
Since line length was limited to 60 characters almost all spaces between keywords were removed so you cannot just LOAD such programs into the QL. They have to be tokenised first, then de-tokenised with spaces around the keywords, and finally parsed by the S*Basic parser. And above that taking into account different syntax and semantics (e.g. inline FOR loops, string slicing etc.). Apart from that, most of the 'missing' functions (e.g. LEFT$ MID$ RIGHT$ etc.) can be easily emulated by user-defined procs and fn's.
Of course BASICODE is only a subset of MS BASIC but I have included the source so you it's easy to extend the number of keywords to full MS BASIC so it can be used as a translator for MS BASIC programs.

Have fun, Jan.


Post Reply