
-----------------------------------
Tallguy
Tue Nov 18, 2008 5:53 pm

Star Wars RISK
-----------------------------------
Hey guys hows it going? Haven't been programming for a while and I thought of doing Star Wars RISK. Great fun for everyone and its Star Wars, whats better then that? lol

So my problem may seem trivial, but remember I haven't done this in a while. So far I have my start up screen were you enter your names and chose your fraction, the thing is; it takes several clicks to choose and you can both choose the same fraction, which isn't suppose to happen. 

So any help is welcome, comments too.

-----------------------------------
The_Bean
Tue Nov 18, 2008 8:24 pm

Re: Star Wars RISK
-----------------------------------
An easy way to keep each player from choosing the same faction is to give each faction a boolean variable, initially have them all set to false, then as someone picks them make the variable true, and don't let someone else pick the faction if its boolean value is true.  Basically eliminating the faction as a future possibility.

-----------------------------------
Tallguy
Wed Nov 19, 2008 10:01 am

RE:Star Wars RISK
-----------------------------------
ummm, i understand what you mean, just unsure where to place it . . .

-----------------------------------
S_Grimm
Wed Nov 19, 2008 11:25 am

RE:Star Wars RISK
-----------------------------------

loop
    Mouse.Where (x, y, button)

    if x >= 50 and x = 230 and y = 300 and x = 230 and y = 550 and x = 230 and y = 50 and x = 230 and y = 300 and x = 230 and y = 550 and x = 230 and y 