1 key challenge revisited Z!re Posting Freak Posts: 3,522 Threads: 189 Joined: Dec 2003 10-02-2005, 08:40 PM Challenge: Make a game that uses only one key as input Rules: QB or FB NO mouse Game must be driven by one key only Game menus can have multiple key inputs or mouse Game end key does not count into the one key limit Key to bring up menu or pause does not count into the one key limit Multiple entries are allowed Sources and all needed binaries must be included in any release (need hosting?: www.fileanchor.com) Judging: Vote, for most entertaining/best/etc/yadda yadda Time: Challenge ends at November 8th, with a 7 day vote before QB Express. red_Marvin Posting Freak Posts: 1,080 Threads: 87 Joined: Feb 2002 10-02-2005, 09:35 PM I'll try to enter this one, right now I have no ideas, and I have a feeling that free time might be a problem in the immediate future, but, well see. EDIT: No I will not participate in this one, I seem to lack programming motivation in general... /post] Dio Senior Member Posts: 650 Threads: 26 Joined: Aug 2004 10-03-2005, 03:17 AM this is the first thing that came to mind: (which evadently is usally a bad thing) FB: Code:```? "RULES:" ? "press the space bar when you are over a gap." ? "to exit, press Esc key" dim cb(1000) sleep 5000 screen 13,,,1:randomize timer line (0,0)-(319,199),2,b for y = 0 to 197 step 2 line (0,y)-(319,y),2 x = int((314-4+1)*rnd+4) if y > 0 then line (x-2,y)-(x+4,y),0 next for y = 197 to 198 for x = 1 to 318 step 2   if x = 1 and y = 198 then x = x +1   pset (x,y),15 next next get (1,197)-(318,198),cb x = 1:y = 1 windowtitle "I rule!" dc = 15 do   setmouse 0,0,0   if y = 197 or y = 198 then locate 8,16:print "YOU WIN!" :SLEEP :END   ox = x   if a = 0 then x = x + 1:if x = 319 then a = 1   if a = 1 then x = x - 1:if x = 1 then a = 0   for dlay = 0 to 10000000:next   pset (ox,y),bgd:pset (x,y),dc   press\$ = inkey\$   if press\$ = chr\$(27) then end   if press\$ = " " then     if point (x,y+1) = bgd then pset (x,y),bgd:y = y +2 :goto 1     if point (x,y+1) <> bgd then       cc = point (0,0)       select case cc         case 2           for cy = 0 to 199           for cx = 0 to 319             if point (cx,cy) = 2 then pset (cx,cy),44             if point (cx,cy) = 0 then pset (cx,cy),15:dc = 0:bgd = 15                        next           next           put (1,197),cb,pset         case 44           for cy = 0 to 199           for cx = 0 to 319             if point (cx,cy) = 44 then pset (cx,cy),4:dc = 15:bgd = 0             if point (cx,cy) = 15 then pset (cx,cy),0:           next           next           put (1,197),cb,pset         case 4           locate 8,16:? "YOU LOSE!":SLEEP :end       end select     end if   end if 1 loop``` edit: update edit: i'm really obsessive as it turns out. quote="whitetiger0990"]whitetiger is.. WHITE POWER!!! [/quote] Here urger Senior Member Posts: 293 Threads: 31 Joined: Nov 2004 10-03-2005, 06:37 AM I'll be entering this compo (have some work to do before I have something to show) That game you posted there looks interesting, but it's far to small in windowed mode to play his sig left intentionally blank moochthemonkey Senior Member Posts: 548 Threads: 67 Joined: Jun 2004 10-03-2005, 08:34 AM Are brain waves allowed to play the game? If so...I might be able to enter a challenge for the first time.. quote="na_th_an"] Greenday, Spice Girls... Can you tell the difference? [/quote] Dio Senior Member Posts: 650 Threads: 26 Joined: Aug 2004 10-03-2005, 12:01 PM Quote:That game you posted there looks interesting, but it's far to small in windowed mode to play yeah i know, that's what Alt + Enter are for. speaking of which, how would i get it to open fullscreen automatically? quote="whitetiger0990"]whitetiger is.. WHITE POWER!!! [/quote] Here Anonymous Guest   10-03-2005, 12:22 PM Code:`screen 13, , , 1` Rattrapmax6 Posting Freak Posts: 2,404 Threads: 153 Joined: Jan 2005 10-03-2005, 09:52 PM Quote:Code:`screen 13, , , 1` That game sucks.... :lol: j/k (I know you was showing Dio full screen mode...) :rotfl: Kevin (x.t.r.GRAPHICS) rpgfan3233 Senior Member Posts: 500 Threads: 7 Joined: Jun 2005 10-03-2005, 09:59 PM Quote:Cha0s Wrote:Code:`screen 13, , , 1` That game sucks.... :lol: j/k (I know you was showing Dio full screen mode...) :rotfl:What are you talking about!? You can make up whatever imaginary game you want from a blank screen! :-P 974277320612072617420666C61696C21 (Hexadecimal for those who don't know) Z!re Posting Freak Posts: 3,522 Threads: 189 Joined: Dec 2003 10-03-2005, 10:18 PM Quote:Rattrapmax6 Wrote:Cha0s Wrote:Code:`screen 13, , , 1` That game sucks.... :lol: j/k (I know you was showing Dio full screen mode...) :rotfl:What are you talking about!? You can make up whatever imaginary game you want from a blank screen! :-PIt doesent use a key for input, it's dissqualified! « Next Oldest | Next Newest »