![]() |
PSET Circle! - 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: PSET Circle! (/thread-6492.html) |
PSET Circle! - Rattrapmax6 - 03-16-2005 Okay, a simple game that shouldn't take but 5mins of your time. Object: Make a circle using PSET RULES: 1. Ten lines or under to be fair... (Can be done in six :wink: ) 2. No use of colins " : " <- those 3. Any radius you want if its in the screen 4. Must be round if that makes since.. 5. Only one PSET can be used.. 6. QB or FB, just note on which, or use the matching Syntax tag. Get all that? Now try it.. ![]() PSET Circle! - Diroga - 03-16-2005 Code: CLS PSET Circle! - Dr_Davenstein - 03-16-2005 OK, why not? ![]() Code: Screen 18, 32 PSET Circle! - xteraco - 03-16-2005 here's mine Code: screen 13 yay, its a circle :bounce: ah crap... no colons, well, i guess its back to the drawing board PSET Circle! - xteraco - 03-16-2005 and w/ a little more work (3 minits) i've came up w/ the answer Code: screen 13 does that qualify.... i win! :bounce: uh, make this official freebasic submission PSET Circle! - xteraco - 03-16-2005 ah, and here's my qbasic version Code: screen 13 so, make it official, this is my qbasic submission PSET Circle! - Sterling Christensen - 03-16-2005 Code: SCREEN 13 PSET Circle! - xteraco - 03-16-2005 well, Sterling beat me :normal: Re: PSET Circle! - KiZ - 03-16-2005 Quote:(Can be done in six :wink: ) Six? Six is for noobs ![]() Code: SCREEN 13 PSET Circle! - Meg - 03-16-2005 3 lines: [syntax="QBASIC"]FOR i! = -.5 TO 360 STEP .5 IF i! = -.5 THEN SCREEN 13 ELSE PSET (160 + COS(i! * 3.14 / 180) * 50, 100 + SIN(i! * 3.14 / 180) * 50), 15 NEXT i![/syntax] |