Boxing Game

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

Boxing Game

Postby dden » Fri Dec 08, 2017 7:44 pm

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 26 times


David
Derek_Stewart
QL Wafer Drive
Posts: 1026
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: Boxing Game

Postby Derek_Stewart » Sat Dec 09, 2017 9:05 am

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
Gold Card
Posts: 375
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway

Re: Boxing Game

Postby pjw » Sat Dec 09, 2017 10:22 am

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
For every complex problem there is an answer that is clear, simple, and wrong.
- H. L. Mencken
Derek_Stewart
QL Wafer Drive
Posts: 1026
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: Boxing Game

Postby Derek_Stewart » Sat Dec 09, 2017 11:18 am

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: 12
Joined: Thu Jan 19, 2017 8:56 am

Re: Boxing Game

Postby dden » Sat Dec 09, 2017 1:50 pm

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
QL Wafer Drive
Posts: 1026
Joined: Mon Dec 20, 2010 11:40 am
Location: Runcorn, Cheshire, UK

Re: Boxing Game

Postby Derek_Stewart » Sat Dec 09, 2017 7:04 pm

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
Gold Card
Posts: 463
Joined: Mon Feb 16, 2015 1:40 pm
Location: Veneto

Re: Boxing Game

Postby Cristian » Sat Dec 09, 2017 7:48 pm

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
Trump Card
Posts: 249
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Boxing Game

Postby janbredenbeek » Sat Dec 09, 2017 8:53 pm

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.



Return to “Software & Programming”

Who is online

Users browsing this forum: No registered users and 1 guest