Giter Club home page Giter Club logo

bot-o-tron's People

Contributors

harrymt avatar tailuge avatar theyobots avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

bot-o-tron's Issues

Bot Online but not Playing Moves

Hey there, thanks for the awesome script. I got my account verified and registered as bot now. My bot is currently online. It responds in the chat but it is not moving. Do I still need to do something?

Using stockfish

Hi
I am wondering if its possible to use stockfish here
If possible then how ?
Thanks

TestBot.html throwing an error

https://tailuge.github.io/bot-o-tron/dist/testBot.html

Hello - I was testing my new token and I am getting an error in Chrome.
Console says:

Uncaught (in promise) TypeError: this.api.accountInfo is not a function
at t.exports.start (library.js:2)
at start (testBot.html:69)
at HTMLButtonElement.onclick (testBot.html:76)

I wrote my own engine in JS and am trying to figure out how to make a bot account at lichess; I was very interested in seeing your API implementation!

Ty!!

First Steps Questions

On my Mac with MacOS 10.13.6 and macports it did the following steps

git clone https://github.com/tailuge/bot-o-tron
cd bot-o-tron
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
# relogin since bash profile is changed ...
nvm install v10.15.3
npm install -g yarn
npm i -D nyc
yarn install
export API_TOKEN=xxxxxxxxxx
yarn test

which is a bit more than described in your readme. The tests ran fine and yarn start seems to do something sensible. The last line is

Wake up server listening on 5000

Where to go from here? How is a Javascript bot now integrated?

getNextMove needs to be async

I've been enjoying playing with this library. I love the simplicity of it. I was going to plug an engine in to it but I noticed something that appears to be an issue. Shouldn't the getNextMove be async? If we call an engine from this method aren't we blocking the thread and the strean from lichess?

Am I missing something here? I haven't looked into the code to deeply.

Error on dist startup

Hi,

when i try the testbot.html, i get an error (inside libary.js):

TypeError: this.api.accountInfo is not a function

This also happens on yr hostless version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.