Ghassan
08-01-2003, 05:49 PM
hFor all those experienced big brain Action gurus:
I have a game, I don’t what’s it called in English, but the main idea that there’s 6x7 (42) blocks that should be filled with orange (the computer), or blue (the user), now who ever fills 4 blocks to the side of each other horizontally, vertically, or even diagonally will win, see:
http://www.gystudio.com/show/capture.html
This is what I got to so far:
http://www.gystudio.com/show/4wins.html
And here’s the fla:
http://www.gystudio.com/files/4wins.zip
I could make it that when click on blue and select block become blue, which is very basic, here’s what I couldn’t do:
1. The computer should be working on two things at the same time; making 4 oranges blocks so he could win, and trying to put oranges blocks on my way whenever I make three blocks, so I won’t win.
2. Whenever a player (me or the computer) fills 4 blocks with the same color to the side of each other horizontally, vertically, or even diagonally, the player wins.
When I first started it I thought it going to be easy, but things started to become more complicated then I thought, I know there’s Arrays involved in it, but I don’t know how.
Please I need this ASAP, actually the deadline was suppose to be today, but I think I can extend it, I’m a freelancer you see.
Ghassan Yonis
I have a game, I don’t what’s it called in English, but the main idea that there’s 6x7 (42) blocks that should be filled with orange (the computer), or blue (the user), now who ever fills 4 blocks to the side of each other horizontally, vertically, or even diagonally will win, see:
http://www.gystudio.com/show/capture.html
This is what I got to so far:
http://www.gystudio.com/show/4wins.html
And here’s the fla:
http://www.gystudio.com/files/4wins.zip
I could make it that when click on blue and select block become blue, which is very basic, here’s what I couldn’t do:
1. The computer should be working on two things at the same time; making 4 oranges blocks so he could win, and trying to put oranges blocks on my way whenever I make three blocks, so I won’t win.
2. Whenever a player (me or the computer) fills 4 blocks with the same color to the side of each other horizontally, vertically, or even diagonally, the player wins.
When I first started it I thought it going to be easy, but things started to become more complicated then I thought, I know there’s Arrays involved in it, but I don’t know how.
Please I need this ASAP, actually the deadline was suppose to be today, but I think I can extend it, I’m a freelancer you see.
Ghassan Yonis