Hi David
abnet has not been compiled with Visual Studio 2003 - so you are on the fronteer
here. I don't think it is very dependent on windows.h. It does depend on
WinSocks (which come with windows.h), but that is the only dependency I know of.
abnet on sourceforge is compatible with nacretest1, yes.
-----Oprindelig meddelelse-----
Fra: david.malek@... [mailto:david.malek@...]
Sendt: 23. november 2005 10:02
Til: Peer D. Sommerlund, PDI
Emne: Re: SV: Abnet
The first problem i had with abnet is that it didnt compile fine in the .NET dev
studio 2003 into my Win32 DLL (it's a DLL+ a typelib i can call from VB). It
told me that there was a conflict concerning windows.h that should not be
included.
Then i found some atlxxxx.h file to include to compile.
A the moment, handshaking with nacretest1 works OK. Then it seems that the
WaitChange with wait = true does not wait.
Is the one currently on source forge compatible with nacretest1 ? Has anyone
ever used it under .net dev environment?
Concerning the "arena" GUI for windows, i could cut my VB my source code into
two parts, the gui and any call to my engine (like benchmarking, init and so
on, search options). So that anyone could plug his engine, or modify the arena
to benchmark his engine.
[cut]
David.
Selon peer.d.sommerlund@...:
> Hi David
>
> I have thought some about abnet lately. There are several features I think
> are missing for it to be a good protocol between a GUI and an engine. I have
> also considered adding the GGS protocol, to allow computer games on a real
> server.
>
> As you have noted, there are at least two versions of the protocol now. The
> original one, and the one where you can define custom boards. The library has
> also been updated to detect disconnection and allow server applications to be
> written with this library (instead of doing a dedicated server application
> which does not use the library)
>
> I think a common code base would be a big bennefit for Abalone programmers in
> general, so I will try to get the newest version on sourceforge (if it is not
> already there)
>
> The core parts of the protocol is unchanged, so you should be able to connect
> (if you act as server) with the program I sent you - even with an old version
> of the library. But of course you should have the newest version.
>
> Does the code you have give you any specific problems? I might be able to
> answer some questions to get you going. It will take me longer to get you the
> most up to date version since I'm not using my hobby-computer (with all the
> source code) very often.
>
> I have an adaptor that allows you to play games on NetAbalone if your program
> implements the client part of abnet. It grabs the mouse and enters the moves
> that way. This is good for human-opponent tests.
>
> About the GUI, I will try to come up with something. It is not as fancy as
> your transparent window, but it works.
>