
-----------------------------------
Nameless_man
Wed Jan 19, 2005 6:58 pm

Can this be simplified?
-----------------------------------
Need help on simplifing.  :o 
Its supposed to be the game "concentration" where u look for the card/diagram asked. 
Currently not done (no duh)
and im planning to repeat the chunk of process over few times,
gonna be like 9000 lines when its done.... (which is bad)
thx. :wink:

-----------------------------------
OsoInsane_abh
Wed Jan 19, 2005 7:20 pm


-----------------------------------
OH wow, i cant guess who this is...... :roll:

if i were you i would just use my orignal name and ask the question.....   :idea:

HINT: FILENAME = ISP2.t

-----------------------------------
cycro1234
Wed Jan 19, 2005 7:40 pm


-----------------------------------
Holy mother of sweet Jesus that's A LOT of code!

-----------------------------------
Nameless_man
Wed Jan 19, 2005 7:52 pm


-----------------------------------
heh
yep its a lot
but its mostly copy and pasting
hardly any typin
and yea....
heh wats ur name? i no ur in TIK afternoon....

-----------------------------------
cycro1234
Wed Jan 19, 2005 7:54 pm


-----------------------------------
You could try reading the tutorial on arrays, coz maybe that will help. As for my name, its Cycro.

-----------------------------------
Nameless_man
Wed Jan 19, 2005 7:56 pm


-----------------------------------
heh thx, and no not u the other guy

-----------------------------------
cycro1234
Wed Jan 19, 2005 8:05 pm


-----------------------------------
Here's some code to simplify all those drawboxes u have. They could be all easily made using 2 for loops. 

for x : 1 .. 150 by 25
    for y : 1 .. 150 by 25
        drawfillbox (3+x, 3+y, 25+x, 25+y, 70)
    end for
end for


Hope it helps.  8)

-----------------------------------
OsoInsane_abh
Wed Jan 19, 2005 8:15 pm


-----------------------------------
Dude, Dont you know its not pleasent to give out your real name in the internet...anyways my name is Abhishek

-----------------------------------
Nameless_man
Wed Jan 19, 2005 8:23 pm


-----------------------------------
bah.....
i dun understand arrays ><
wanna care to explain to me in PM cycro =P?
lmao

-----------------------------------
cycro1234
Wed Jan 19, 2005 8:54 pm


-----------------------------------
Sure, rite after you read this tutorial made on arrays. You should check out the stickies at the top, some of them contain useful information. 

http://www.compsci.ca/v2/viewtopic.php?t=366

-----------------------------------
Nameless_man
Wed Jan 19, 2005 9:05 pm


-----------------------------------
hmmm how do i use array in my program then? 
(btw i dun rly understand array..)

-----------------------------------
cycro1234
Wed Jan 19, 2005 9:24 pm


-----------------------------------
I said you might be able to use an array. All your if statements use the variable "reply". The if statements all get a number, yet u declared reply as a string. Maybe if you declared it as an integer, things may be easier? Btw, what's your name? (For easier reference)
