op12no2 / lozza

A UCI Javascript chess engine.
GNU General Public License v3.0
46 stars 8 forks source link

version without worker #3

Closed v11580 closed 3 years ago

v11580 commented 3 years ago

Is there somewhere I can find a working example of lozza that executes without a web worker?

Thank you in advance and congratulations to the developers for the outstanding chess engine.

op12no2 commented 3 years ago

Hi, not a complete working version no. The problem is that without workers you cannot update the page while Lozza is working. However there are partial examples in texeltune*.js where I set up a FEN and call eval and/or Q search on it. From that it should be clear what is involved. Thanks for your kind words :)

v11580 commented 3 years ago

Thanks for writing. I installed npm, so I was able to get up and running. Yours is one of the few JS engines (the only one I actually know of) that returns the moves in descriptive notation. Plus it's not so bad in the elo department either. Chess is a double hobby for me: coding JS and learning the game (class B player.) Part of my interest in engines is that I like to create HTML chess interfaces for my own use. This mostly involves training with tactical positions. Cheers from the USA. I was in Wales briefly about 20 years ago while visiting the UK for two weeks. Gary