Categories
Uncategorized

Back to B.A.S.I.C

Since I got my new cellphone I’ve been wanting to write a couple java applications/games for it. I want to do something really simple though, and I’ve been having a hard time thinking of something that would be both really easy and fun to play. I went to the bookshelf in the den and found a REALLY old book (circa 1981 – ok not really THAT old, but come on its older than ME!) called ’55 Advanced Computer Programs in BASIC’ I found one that intrigued me that was simply called SOCCER. So, I spent a little time this evening after I got home from class looking for a BASIC interpreter that works with Windows XP. Apparently no such animal exists, however microsoft does offer a free version of their Visual BASIC. So I downloaded that, installed it and then proceeded to type up the 3 page program.

After about 40 minutes of typing (man was that tiring) I clicked the RUN button and….. nothing happened. Well thats a lie, the error screen popped up and showed me everything that is wrong with the code. This list was literally the exact length of the program. From the looks of it Visual BASIC doesn’t like the same syntax that the original BASIC language was designed as. So, I guess I’m going to have to scrap that idea. I really wanted to see how it played before I tried implementing it in Java. A line by line translation from BASIC to JAVA doesn’t look like it is very feasible with all these GOTO statements that just don’t exist in any modern languages. So, I’m either going to have to REALLY REALLY study this code or just come up with my own way of doing some kind of turn based soccer.

Hopefully I won’t give up on it like I have with my multiplayer briscola. Well, to be fair I haven’t given up on briscola just yet. Not to say that I will eventually give up on it, but I needed a bit of a break from it. It was giving me certain hassles that I just didn’t (and still don’t) feel like dealing with at the moment.

Leave a Reply