Looks like ive found the right place to find out about chess engines.
First Chess Program and book tool!
Moderator: Ras
-
mainsworthy
Re: First Chess Program and book tool!
feels like years already bill 
Looks like ive found the right place to find out about chess engines.
Looks like ive found the right place to find out about chess engines.
-
mainsworthy
Re: First Chess Program and book tool!
Hi Andy, Ive done as you suggested! phew! Ive added a move display and a Winboard version, now the winboard version is a draft copy and is far away from being finished, but I was trying to learn what was what with the protocal, some Engine Processes have to be killed with the task manager after you end the winboard. And I cheated as I used the GO command to change sides ( a quick fix but it works untill I get it right, only been at it a day)
http://uk.geocities.com/avalomhilly/TextChes.zip
Cant tell you how awsome it was to see My own Engine play GNUChess, Its a feeling never to be equaled.
thankyou Andy for the extra help youve been to me your guidance was incredible.
Mark
http://uk.geocities.com/avalomhilly/TextChes.zip
Cant tell you how awsome it was to see My own Engine play GNUChess, Its a feeling never to be equaled.
thankyou Andy for the extra help youve been to me your guidance was incredible.
Mark
-
plattyaj
Re: First Chess Program and book tool!
Great! It's playing fine under Arena now. Well, I say fine - the moves are somewhat erratic but I think you know that!
It does seem to be playing much quicker than the text version though - is some command 'forcing' it to move?
If you implement 'quit' it will terminate cleanly.
Andy.
If you implement 'quit' it will terminate cleanly.
Andy.
-
hgm
- Posts: 28461
- Joined: Fri Mar 10, 2006 10:06 am
- Location: Amsterdam
- Full name: H G Muller
Re: First Chess Program and book tool!
Well, they are more than erratic: some of them are outright illegal. It moves with pieces that aren't there, and captures its own pieces.

-
mainsworthy
Re: First Chess Program and book tool!
New didnt reset the flags, and Ive had to covert bitboards into d2d4 etc..
Ive updated it now , but still need some work.
Ive updated it now , but still need some work.
-
mainsworthy
Re: First Chess Program and book tool!
The chess engine dosnt make illeagle moves its my interfaceing, ill get there
-
mainsworthy
Re: First Chess Program and book tool!
Hi Any Ill have to look at arena now
the game dosnt reset with new properly,, I think Ive got it done now (bitboards! interface)
-
mainsworthy
Re: First Chess Program and book tool!
Andy, your the best Ambasidor for online and chess programs , I could imagine, I moved from text to GUI with Winboard, and have now got Areana, The engine tournements with itself great, cant believe it! Ive updated the beta engine but Winboard side needs some work, but wow in a day or two with your expert pointers, Im playing Arean(WOW) and winboard(excelent)
It does run faster on arean does that boost my strength hehe.
thanks so much Andy for your help.
Mark
It does run faster on arean does that boost my strength hehe.
thanks so much Andy for your help.
Mark
-
mainsworthy
Re: First Chess Program and book tool!
Hi H
Im playing the engine in areana with no problems, havnt tried against other engines besides itself eg:crafty, but the moves are all leagal ,iiits the stdio stream in C++ with Winboard needs work. I thought Id done all the codeing
no debuging has ever been so much fun , change something and fire up a gui, great.
Try it on Areana, make sure you have beta version 3 engine, Im new to this sort of experience NULL buffers and missed messages from stdin/out.
thanks Mark
Im playing the engine in areana with no problems, havnt tried against other engines besides itself eg:crafty, but the moves are all leagal ,iiits the stdio stream in C++ with Winboard needs work. I thought Id done all the codeing
Try it on Areana, make sure you have beta version 3 engine, Im new to this sort of experience NULL buffers and missed messages from stdin/out.
thanks Mark
-
mainsworthy
Re: First Chess Program and book tool!
Well, I havnt Mastered the missed messages in Winboard, but I have a sort of solution for now!
The Engine has to be restarted each game, this works fine in Arean! ('tournament' 'Start/Quit' tab 'restart engines each game') but Mainsworthy only recognises a new board setup(so you cant resume a tournament), this is because Mainsworthy was never designed to go beyond a nice little text game, but Its great what it can do now in areana.
So now Ive got a working TOY! so now I will get to work on the features needed for Winboard(read write, null buffer, dont miss messages, new board and position setup)
Im just amazed to see mainsworthy working in Arean. Mainsworthy works in Winboard but you have to restart each game.
The Engine has to be restarted each game, this works fine in Arean! ('tournament' 'Start/Quit' tab 'restart engines each game') but Mainsworthy only recognises a new board setup(so you cant resume a tournament), this is because Mainsworthy was never designed to go beyond a nice little text game, but Its great what it can do now in areana.
So now Ive got a working TOY! so now I will get to work on the features needed for Winboard(read write, null buffer, dont miss messages, new board and position setup)
Im just amazed to see mainsworthy working in Arean. Mainsworthy works in Winboard but you have to restart each game.