- Blind mode tutorial
lichess.org
Donate

Questions regarding making a chess engine.

1- Is using Deep Learning necessary to accompany the pace of chess engines as it is swalloing the world of artificial intelligences?
2- With that said, is there any specific programming language in which I should use to make my chess engine like Python? I am asking it because Python is very stigmatized as a language that is ideal for Deep Learning and Neural Links and I am more used to JavaScript. JavaScript vs Python? Who is more alpha in this endeavor?
3- For a computer to think like 6 moves ahead, it must make trillions of calculations and it is not viable, to what is a good heuristic for the program to follow and how to apply it in code terms? It is like: You can answer to me something like: Evaluate position, pieces, pawn structure etc, and make the computer to choose the move that will most benefit the pieces in which he is playing for, but HOOOOOW? Code examples are welcome, specially JavaScript.

1- Is using Deep Learning necessary to accompany the pace of chess engines as it is swalloing the world of artificial intelligences? 2- With that said, is there any specific programming language in which I should use to make my chess engine like Python? I am asking it because Python is very stigmatized as a language that is ideal for Deep Learning and Neural Links and I am more used to JavaScript. JavaScript vs Python? Who is more alpha in this endeavor? 3- For a computer to think like 6 moves ahead, it must make trillions of calculations and it is not viable, to what is a good heuristic for the program to follow and how to apply it in code terms? It is like: You can answer to me something like: Evaluate position, pieces, pawn structure etc, and make the computer to choose the move that will most benefit the pieces in which he is playing for, but HOOOOOW? Code examples are welcome, specially JavaScript.

How many threads like this have you made?

How many threads like this have you made?

Why don't you want to make a simple brute force based engine with adjustable levels of 1000-2000 elo?

Why don't you want to make a simple brute force based engine with adjustable levels of 1000-2000 elo?

1 - yes
2 - Idk
3 - this is a question a Bot user might be able to answer you. chess is a very hard game even for engines if they are under time pressure because of the near endless possibilities.

It's funny how you first were scared that someone would steal your program and now ask how to code it.

What the chess world needs is not another strong engine but a stockfish 1-5 that plays more human like moves and doesn't make stupid blunders but human like blunders. If you could code that it would be much more valuable.

1 - yes 2 - Idk 3 - this is a question a Bot user might be able to answer you. chess is a very hard game even for engines if they are under time pressure because of the near endless possibilities. It's funny how you first were scared that someone would steal your program and now ask how to code it. What the chess world needs is not another strong engine but a stockfish 1-5 that plays more human like moves and doesn't make stupid blunders but human like blunders. If you could code that it would be much more valuable.

@chessypiano

Some of these engines may be worth testing:

http://talkchess.com/forum3/viewtopic.php?t=72427

"'Black Diamond' - which is essentially Crystal by Joe Ellis with the bells and whistles for human play including , Play by FIDE Elo , 4 opening books, improved adaptive play , improved variety play .
[...]
"Weakfish" , which is essentially Stockfish with all the search Elo gainers removed, but the evaluation code left intact. Plays about 2400 FIDE full strength and maybe around 730 FIDE at the weakest setting of FIDE 1000.
[...]
etc.
"

https://github.com/MichaelB7/Stockfish/releases

"All of the Honey engines have the NNUE included in the binary ... and are designed for human play and analysis."

@chessypiano Some of these engines may be worth testing: http://talkchess.com/forum3/viewtopic.php?t=72427 "'Black Diamond' - which is essentially Crystal by Joe Ellis with the bells and whistles for human play including , Play by FIDE Elo , 4 opening books, improved adaptive play , improved variety play . [...] "Weakfish" , which is essentially Stockfish with all the search Elo gainers removed, but the evaluation code left intact. Plays about 2400 FIDE full strength and maybe around 730 FIDE at the weakest setting of FIDE 1000. [...] etc. " https://github.com/MichaelB7/Stockfish/releases "All of the Honey engines have the NNUE included in the binary ... and are designed for human play and analysis."

@pointlesswindows mmm... I do get to see the talkchess forum.
Anyway the engines are on the github page linked in my comment above.

Anyway, answering to the OP, here you have some first baby-steps for a chess engine (move-generation, board evaluation, minimax and alpha beta pruning; NO machine learning) in javascript: https://www.freecodecamp.org/news/simple-chess-ai-step-by-step-1d55a9266977

@pointlesswindows mmm... I do get to see the talkchess forum. Anyway the engines are on the github page linked in my comment above. Anyway, answering to the OP, here you have some first baby-steps for a chess engine (move-generation, board evaluation, minimax and alpha beta pruning; NO machine learning) in javascript: https://www.freecodecamp.org/news/simple-chess-ai-step-by-step-1d55a9266977

@supertorpe Why NO machine learning? What about using Deep Learning, Neural links, and Python for that?
@MartCronos Yeah yeah yeah thanks. I already know the website, but the problem is that they do not talk like they eat (in Italian, there is a expression: "Parla come mangia", meaning: Speak how you eat).

@supertorpe Why NO machine learning? What about using Deep Learning, Neural links, and Python for that? @MartCronos Yeah yeah yeah thanks. I already know the website, but the problem is that they do not talk like they eat (in Italian, there is a expression: "Parla come mangia", meaning: Speak how you eat).

@AcabaComigo What I wanted to say is that the linked article is not about machine learning, but about building a traditional engine.

@AcabaComigo What I wanted to say is that the linked article is not about machine learning, but about building a traditional engine.

This topic has been archived and can no longer be replied to.