EDIT: Make a game in 10 lines or less. - 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: EDIT: Make a game in 10 lines or less. (/thread-3420.html) |
EDIT: Make a game in 10 lines or less. - PlayGGY - 03-07-2004 Rules: Pure QB No externel files (for graphics, etc) Must be 10 lines or less No : (except for line labels) Here we (or I...) go! (I tried making it with 5, but it is impossible) EDIT: Make a game in 10 lines or less. - Atom Ant - 03-07-2004 Ooh, I'll do this, just as soon as I make a game for my challenge. EDIT: Make a game in 10 lines or less. - andy - 03-07-2004 Code: 'this is an amazingly fun game - not. EDIT: Make a game in 10 lines or less. - PlayGGY - 03-07-2004 Hahaha... God job! I am working on one that has no flicker, a border, and is synchronized so it runs the same speed on different computers. EDIT: Make a game in 10 lines or less. - PlayGGY - 03-08-2004 Well, I have to shave 6 lines off of mine, but so far mine has 0 flicker, runs the same speed on every computer, has a border around it's screen, and notifies you if you lose. The game itself is sort of like Pong. But it is 16 lines!! This'll be hard. EDIT: Make a game in 10 lines or less. - whitetiger0990 - 03-08-2004 heres mine Code: ' Stop the number with the space bar and try to get within 100 away from 2500! andy: with yours you can press etner before the screen changes and win edit: heres another =P Code: 'press space when the numbers are next to eachother EDIT: Make a game in 10 lines or less. - Bluffer - 03-08-2004 That was cool whitetiger I liked :bounce: EDIT: Make a game in 10 lines or less. - LooseCaboose - 03-08-2004 This one is 11 lines, I can't see anyway of getting it down to 10. Its a hangman game with only 3 different words in it (although more could be added without increasing the line count), the game will continue even after you have won or lost, just press ctrl+break after the "game over" or "you win" message appears. Code: 1 FOR i = 0 TO 9 EDIT: Make a game in 10 lines or less. - PlayGGY - 03-08-2004 Good job getting it down to eleven. The hard part is making the word random. Mine is 16 lines, and is a real-time pong sort of game. What I have so far is: No flicker All of the physics A "You lose" screen Same speed for each computer regardless of how good the computer is Control over the paddle BUT IT IS 16 LINES!!! I will have to be really creative here. It is as compressed as much as I can... :???: EDIT: Make a game in 10 lines or less. - LooseCaboose - 03-08-2004 Quote:The hard part is making the word random It is random, on the second line there is a randomize timer statement so that the random numbers are different each time, the word number is n, on the second line there is a n = int(3 * rnd + 1), so n is a random number between 1 and 3. Quote:Mine is 16 lines, and is a real-time pong sort of game. Post what you have so far, someone else might be able to help cut the line number down. |