How does one clear off all of one typ... Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » How does one clear off all of one type of pieces or check all spaces on board? « Previous Next »

Author Message
Richard Hutnik (Richardhutnik)
Posted on Wednesday, February 19, 2003 - 12:32 pm:   

I was curious what the code logic would be for either clearing all of one type of piece of a board (by AI between turns) or checking all spaces on board to see if they match a certain condition, and then making adjustments.

Thank you for your time...
- Richard Hutnik
Karl Scherer (Karl)
Posted on Saturday, February 22, 2003 - 11:36 pm:   

What do you mean by "by AI between turns?"

You can always do it in your code by scanning the board, of course.
Richard Hutnik (Richardhutnik)
Posted on Friday, March 07, 2003 - 4:24 pm:   

Yes,that is it. I was curious how the code for scanning the board and modifying worked.

- Richard Hutnik
trademaster5 (Trademaster5)
New member
Username: Trademaster5

Post Number: 1
Registered: 1-2007
Posted on Tuesday, January 30, 2007 - 5:47 am:   

text/htmldf
ciallis.html (3.0 k)

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: