
12-11-2009, 11:07 PM
If the only way the number of cubes changes is when the players take cubes away, then you must have some method which lets both the player and the computer (or second player) take cubes away, right? So you must have a method for this, some part of your Alice world allows this. In this method, you can have the number of cubes taken away be subtracted from the cube tracking variable so that the number variable is always equal to the number of cubes on the board. Then , with the addition of a "when a variable changes" event which tracks when that variable changes and checks to see if it's < 4 each time (and shows the 3d text if it is), you should be fine.
|