![]() |
raycaster in 6 lines - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: QbasicNews.Com (http://qbasicnews.com/newforum/forum-3.html) +--- Forum: Challenges (http://qbasicnews.com/newforum/forum-10.html) +--- Thread: raycaster in 6 lines (/thread-3631.html) |
raycaster in 6 lines - VonGodric - 10-12-2004 Really cool, never done anything of that kind though :oops: So just for better understandability(for myself) I rewrote it to n+1 lines, but gives a better overview. Code: 1 DIM L(7, 7) raycaster in 6 lines - Neo - 10-29-2004 Sorry for reviving this topic, but I really have to say something ![]() Quote:Waitasec...Relsoft, YOU'RE Jelly?HA! I already suspected that! ![]() ![]() ![]() Quote:Yeah, I wouldn't have used "Zebra" or "Xylophone" though. :*)Jelly is cool ![]() Quote:Hey! Jelly is like, plasma! So you are Plasma too?Yeah right... then everyone is everyone. So I'm oracle because Neo has something to do with The Oracle in the Matrix... ![]() Quote:Well, that would realy suck. He would be the only smart person in here... might as well call it relsoftnews.com.Because he is everyone here? Or is it just because because we aren't smart? ![]() Quote:Well, they both are ASM geniuses, and how come we have never seen them in the same room together?Hmn, good question ![]() ![]() Quote:Hell on EarthSince when are the Phillipines hell on earth? And since when is the USA the country with the coolest salaries? ![]() Quote:raycast$ = 'machine code for raycasterYou are allowed to do this, unless you have to make it in QB. That code technically isn't QB ![]() raycaster in 6 lines - relsoft - 10-30-2004 Neo: The place itself is pretty good. But bad governance is ruining everything. Err... A guy who operates a xerox copy machine in the sates for 6 hours makes a lot more than a surgeon here. :*) Sigh, this "relsoft is smart thingy" is so lame. Heh, I could never make a half decent gui even if I try to. ;*) raycaster in 6 lines - TheBigBasicQ - 10-30-2004 Rel, stop comparing Phillipines to US. The cost of living is proportional to their salaries ![]() ![]() raycaster in 6 lines - adosorken - 10-30-2004 Quote:Because he is everyone here? Or is it just because because we aren't smart?Nah, everyone (with a few exceptions) here is smart in their own little ways. You gotta be a cut above the rest of humanity to be able to withstand the suffrage and outright masochistic lifestyle of a computer programmer. ![]() raycaster in 6 lines - Z!re - 10-30-2004 :lol: Hear hear... Re: raycaster in 6 lines - kinem - 04-14-2010 Hi. Sorry to revive this years-dead thread, but I thought it was a fun challenge to make the shortest 1-line RC! You can make it into 1 line in QB with a bit of editing. All fixed up, note the changes ![]() Code: FOR X = 0 TO 63: Re: raycaster in 6 lines - ravenxau - 09-25-2016 Thought I'd bump this thread, as I did start it 12 years ago....I have just started programming in qbasic again...using version 1.1 under dosbox....will be interesting to revisit some of my old stuff and see if it goes anywhere new........ Re: raycaster in 6 lines - Dav - 10-01-2016 Hi ravenau. I keep coming back to QB programming too. Have you tried QB64? These raycaster codes will run in that too, compile to EXE and doesn't need DosBox. Anyway, glad to see you (and anyone!) around here. ![]() - Dav Re: raycaster in 6 lines - Dr_Davenstein - 10-02-2016 Yes sir. Studying stuff like this is what made me who I am today... As far as programming goes. ![]() |