DLL_Search function for plug-in DLLs Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » DLL_Search function for plug-in DLLs « Previous Next »

Author Message
Cameron Browne (Camb)
Posted on Thursday, July 03, 2003 - 10:47 pm:   

The Sample.zip project shows how to implement random move selection in DLL_Search(). To achieve a better result do I have to implement a full alpha-beta search (or whatever) in my own DLL_Search function, or is there some way of getting Zillions to use its own search engine while a DLL is loaded?

Thanks,
Cameron
Jeff Mallett (Jeffm)
Posted on Friday, July 04, 2003 - 1:00 am:   

It would be cool to piggyback on Zillions search engine and just write an evaluation function, but the way it is now, if you replace the search engine with your own you have to supply the search part.
Cameron Browne (Camb)
Posted on Friday, July 04, 2003 - 1:18 am:   

Thanks for the explanation Jeff.
Is it possible to get hold of some working search code that I can just drop in to DLL_Search rather than write the whole thing myself from scratch? All I really want the DLL for is to generate move lists for a complex 3Dish game.
Jeff Mallett (Jeffm)
Posted on Friday, July 04, 2003 - 2:27 pm:   

Ah, generating moves is what your after -- that wasn't even a feature of plug-in DLLs until version 1.2. (The original idea of the DLLs was to replace the search engine.) If you want code for a search engine, you should be able to find source code available on the web. For example, you can find code to chess engines here. If that's too much work, then my only suggestion is wait until such time as DLL_Search becomes an optional routine.

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: