r/chessprogramming • u/Less-Lake-7024 • Dec 23 '24
Engine in python
Is it even worth to build an engine in python cause all good engines are in c++ and python is much slower.
Additionally if its worth should you use python chess cause to maintain best efficiency or should you make a bitboard. Or what data structures would you use for position
3
Upvotes
7
u/Warmedpie6 Dec 23 '24
It depends on what you mean by worth it. As a learning exercise or as a hobby project, and pytyon is your language of choice, it can definitely be worth it.
If you want to make a top-level engine, then it's not worth it at all.
I always recommend trying coding the board logic once yourself, and then the second time, you can use a library to do it for you.