Search found 45 matches

by seaBiscuit$
Thu Jan 04, 2007 7:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with Chess Program I am writing
Replies: 13
Views: 23536

OK, I found two mistakes in the code I wrote and fixed them, but when I run it, it still doesn't work. HELP!!! i'll try to wade through it this weekend(if i have time) Good because I have no clue how to fix it myself. If you wrote it then you can fix it! Just use PRINT to display the values of crit...
by seaBiscuit$
Wed Jan 03, 2007 8:53 pm
Forum: General Discussion
Topic: Old school 80's program
Replies: 7
Views: 16275

I guess that's what people would call "spaghetti code," but I love it! :D Programs like this are so great because at first glance it looks completely unstructured, like somebody chewed up an ASCII character chart and spit it on the screen, but upon closer inspection, they reveal that they ...
by seaBiscuit$
Wed Jan 03, 2007 10:50 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Need assembly help
Replies: 4
Views: 11940

Thanks for that! QBasic was doing crazy things with my string, so I had given up on that. Scratch is fantastic! 8)
by seaBiscuit$
Tue Jan 02, 2007 10:50 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Eliza the computer therapist
Replies: 4
Views: 9409

Thanks! I'll look into those. :D
by seaBiscuit$
Mon Jan 01, 2007 10:56 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Eliza the computer therapist
Replies: 4
Views: 9409

Re: Eliza the computer therapist

so you mean if some one says alot of depressing words(sad, unhappy) it will diagnose depression? and the same for other diagnoses? Yea, like that. I could increment the attribute associated with a word each time it apears and print it out at the end, like: Depression: 23 Paranoia: 45 Evilness: 21 B...
by seaBiscuit$
Sun Dec 31, 2006 6:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Eliza the computer therapist
Replies: 4
Views: 9409

Eliza the computer therapist

I want to improve my Eliza computer therapist program by adding on to it with something that would diagnose the user with some mental illness when the conversation is over. Does anyone know what kinds of things it should look for in the input to do something like that?
by seaBiscuit$
Sat Dec 30, 2006 4:54 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need someone's oppinion...
Replies: 4
Views: 10704

I think I'll just leave it the way it is and use the two dimensional array in the sequel.
by seaBiscuit$
Sat Dec 30, 2006 12:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need assembly help
Replies: 4
Views: 11940

I've been looking and to the best of my newfound knowledge, only jmp will support relative addressing, and only jmp and call will support indirect addressing. I think that the programmer is supposed to know the exact offset where their program is being run from, so I might just have to find out the ...
by seaBiscuit$
Sat Dec 30, 2006 11:05 am
Forum: Pete's QB Site News
Topic: spam problems
Replies: 16
Views: 82258

What's all this? I'm NOT a spam bot! Although you CAN get cheap weight loss pills at http://www.weightlosspillsforcheap.com and you can get a loan with a low, low apr at http://www.lendingtree.com Remember, when banks compete over you, you win! Oh, and Z!re, you may already be a WINNER! http://www.c...
by seaBiscuit$
Fri Dec 29, 2006 11:28 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need someone's oppinion...
Replies: 4
Views: 10704

The description text for all the hallways is the same, if that's what you meant.

:lol: Billy "Commander Keen" Blaze does NOT live in Middle Earth... There aren't many Vorticons there.
by seaBiscuit$
Fri Dec 29, 2006 5:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need assembly help
Replies: 4
Views: 11940

Need assembly help

I've read some tutorials on using assembly in QB, and I was wondering if anyone knew how to use a jump statement (like jne, jz, etc.) from DEBUG.EXE so it would jump to a relative address rather than an absolute one, so it could say something like: "jump if zero to the statement 5 bytes from he...
by seaBiscuit$
Tue Dec 26, 2006 6:10 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need someone's oppinion...
Replies: 4
Views: 10704

Need someone's oppinion...

I'm writing a text-adventure style game that generates the map at random each time it's played. Right now, I just have an array of rooms that I connect with random hallways. The problem is that even if you went around in a square, (south, east, north, then west) you could end up in a different room ...
by seaBiscuit$
Sat Dec 16, 2006 9:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Uploading files
Replies: 13
Views: 27993

Try my raycaster! It only has one star, but I'm proud of it!
by seaBiscuit$
Sat Dec 16, 2006 6:28 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Game Help
Replies: 2
Views: 6041

You could create a maze like this: mazewidth = 11 mazeheight = 11 dim shared maze$ 'fill the maze with spaces to start with maze$ = string$(mazewidth * mazeheight, " ") Then to write to it, instead of using locate y,x you could do something like this: index = ((y - 1) * mazewidth) + x mid$...
by seaBiscuit$
Thu Dec 14, 2006 8:12 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Uploading files
Replies: 13
Views: 27993

I put the Text Farm games on qbasicstation along with some other programs of mine. I hope Pete can get this fixed soon!
by seaBiscuit$
Wed Dec 13, 2006 10:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Line breaks in DATA statements?
Replies: 7
Views: 12423

No, what I meant was that Seabiscuit was a famous race horse in the 1930's and 1940's. Books were written about him, and several motion pictures were made. He was one of the greatest race horses in America. Thought you knew this. That's what I meant. I guess I should have made that clearer. I just ...
by seaBiscuit$
Wed Dec 13, 2006 8:09 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Line breaks in DATA statements?
Replies: 7
Views: 12423

moneo wrote:P.S.: "Seabiscuit" --- are you a horse racing fan?
You must have me confused with another Seabiscuit. :P
Alright, I'll use the dummy characters.
by seaBiscuit$
Wed Dec 13, 2006 6:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Line breaks in DATA statements?
Replies: 7
Views: 12423

I found a way to add line breaks. (sort of) If I want it to break after a certain word, I can just put spaces after it until it wraps the text on its own. That's a good idea to use dummy characters too! I could use that for other special characters, or if I get sick of putting lots of spaces in. Tha...
by seaBiscuit$
Tue Dec 12, 2006 9:54 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Line breaks in DATA statements?
Replies: 7
Views: 12423

Line breaks in DATA statements?

How can I put strings with line breaks in DATA statements? I could do something like this and PRINT it or store it in a variable: "Hello," + chr$(13) + "World!" but I can't use chr$ inside DATA statements. Is there any way I can put a string in a DATA statement with line breaks i...
by seaBiscuit$
Tue Dec 12, 2006 7:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Uploading files
Replies: 13
Views: 27993

I tried uploading it from a computer at my school, but it still wouldn't work. Should I submit it by e-mail or something?