Strryke / betafish

A chess engine and AI move finder written in Javascript. Beats Stockfish level 6 on Lichess.
https://betafish.gavinong.com
MIT License
95 stars 10 forks source link

How do I use this library? #3

Closed Hugos68 closed 4 months ago

Hugos68 commented 1 year ago

npm i betafish doesn't work, how can i use it in my project

Strryke commented 1 year ago

Hey Hugo,

This isn't a library, its a personal project that I made. It's not meant to be used as a library, but you can look through the source code and copy whatever you need as long as you credit it properly.

If you want to use the engine, you can take a look at betafish.js and see the functions that I expose at the bottom, and see how they can be used together with a GUI library to get your game working. If you need more help, please provide me with more details on how you plan to use it and I'll see how I can help.