This question is more complicated than it probably should be, but it wasn't my idea.
(This is for a final project in school, so I'm not asking anyone to actually write the code, if you can just give me a good handle on what I'm missing.)
Problem:
A pachinko game with 7 rows and 28 pins in it. (1 pin in row one, two in row two, and so forth.) Somehow I have to create a program that will drop a ball from the top of the screen down the hiarchy of pins.

Wait, it gets better. We have to have three variables: intRows, curPin, and nextPin--or something like that.

My problem? We've been learning how to code simple forms, like enter the sales amount and I'll give you the commission. I don't know how to define these stupid variables, much less how to tell the ball how to go down the rows. (Except that intNext = intPin + intRow + (0 or 1--which I think is simply RND)

Can anyone help? Soon?

Thanks,
Rebeckah