Vertical tic tac toe stack ontop rule Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » Vertical tic tac toe stack ontop rule « Previous Next »

Author Message
james preston (Ziljames)
Posted on Friday, July 04, 2003 - 3:32 pm:   

on the vertical 'tic tac toe' game, how can I alter the rules so a player cant play ontop of the last piece moved, may sound odd, but I'm altering other features too.
james preston (Ziljames)
Posted on Friday, July 04, 2003 - 4:00 pm:   

oh, 1 more thing, can anyone tell me what the 45 is in the code:
("a/b/c/d/e/f" (45 0))
Dan Troyka (Dtroyka)
Posted on Friday, July 11, 2003 - 9:37 pm:   

The 45 is the number of horizontal pixels that separate a from b, b from c, c from d, etc. That line of code in isolation would produce a row of six squares spaced 45 pixels apart. Each square would be the size of the start rectangle. If the 45 and 0 were reversed you would have a column instead. (45 45) would produce a diagonal line.
John Kewley (Jkew)
Posted on Thursday, July 17, 2003 - 3:33 pm:   

Look at AntiStack4 in the downloads section.

If you have ideas for different 4inarow
variants as I have coded a variety of them
and am always on the lookout for new ideas.

Cheers

JK

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: