Inspired by SARGON I'm trying to write a simple chess program.
For the moment the program (DOS terminal) plays random legal simple moves (No castling, en passant, promotion, 50 rule....).
I need ur help please to add the simplest possible evaluation function to choose the best move among generated array of moves.
I don't know the efficient way to use piece square tables and pieces values.
Next step will be the search algorithm (negamax or alpha-beta).
Many thanks in advance.
lucasart wrote:You don't have a search and you want to write an eval ?
delta67 wrote:lucasart wrote:You don't have a search and you want to write an eval ?
Thanks lucasart for your proposed steps to write a chess program.
What I meant is your step2.
I've written a very basic material count evaluation function based on these articles:
https://chessprogramming.wikispaces.com ... n+function
Now I can try different search algorithms, It's very very fun , I'm enjoying this!!!!!
Many Thanks for all people who shared their knowledge on the web.
P.S: If some one needs my humble code (C), let me know (PM), I'll upload it and put the link here.
Users browsing this forum: No registered users and 1 guest