How to make good (ab)use of random pl... Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » How to make good (ab)use of random players! « Previous Next »

Author Message
Karl Scherer (Karl)
Posted on Monday, January 08, 2001 - 3:35 pm:   

Since Zillions Version 1.2,
during a turn of a random player in a Zillions game (the player's name starts with a question mark) the Zillions engine will not analyze the game anymore, but execute a random move (or drop)immediately.

This simplification and speed enhancement can be
(ab)used for ANY PLAYERS (without a questions mark) that have been artificially introduced into a game just to execute some specific tasks.
These players do not have a choice what to do,
they act like subroutines.

I call them Helpers and often give them names like
Helper1, Helper2 etc if I need more than one.

Now here is the trick:

You rename these Helper(s) by adding a question mark in front; e.g "Helper" turns into "?Helper".
(Of course you replace the name whereever you
used it).

Result: The new ?Helper will do the same task
as the Helper before, but the Zillions engine
will not analyze the game during its turn.
This speeds up the game considerably.

Your game logic will not be affected by this
trick at all!

In the light of this change with Zillions 1.2,
I have updated some of my games.
(see main topic "Comments and Suggestions for existing Games",more coming up).

Cheers, Karl Scherer
Ingrid Lael (Ingridlael)
Posted on Tuesday, January 31, 2006 - 5:11 pm:   

Hi (again) Karl!

Sorry to be this annoying, but i'v got a kinda silly question regarding AI players: when, during gameplay, Zillions reports the amount of plies it's actually looking moves on, does he take into account the AI players too, or are those numbers referred to "actual" players only? eg: the "6" in "6/12567=...."

Another one: when Zillions reports he has found an "Only Move", does this mean that he could not find another one in the time gap given? or is he forced?


Thanks a lot for your time...
...Ingrid

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: