chrisantley1 / speak-to-lichess Goto Github PK
View Code? Open in Web Editor NEWdictate moves to lichess
License: MIT License
dictate moves to lichess
License: MIT License
This may be a feature request more than an issue, but it would be extremely helpful for my purposes to be able to dictate the moves in a game not played against an AI or a matched lichess player, but locally.
Dictating a pawn promotion to any piece other than a queen is possibly broken. Need to:
Test, get evidence that it's broken
If broken... then fix it lol
If not, contact user and get more information
äöü are not accepted in Replacements
German
läufer -> bishop
könig -> king
I always get "replacement word must be alphanumeric."
It appears that the extension attempts to convert lichess voice output to input command.
It should not.
Is there a way to make it ignore that voice?
maybe by ignoring the first few seconds after each move if lichess voice output is enabled?
Hey @ChrisAntley1 , amazing job with this plugin! So useful!
This is more a feature request than an issue.
I've been looking the source code and I've realised that you are hardcoding the value of the language for the speech recognition API:
recognition.lang = 'en-US';
Could it be possible to read the language from the browser? Something like:
recognition.lang = navigator.language || navigator.userLanguage;
Or maybe, it's a better idea to add an option in the plugin's configuration UI to let the user set the language, being the default language en-US
.
Please, let me know which option you prefer and if you have time to do the modifications or if you accept Pull Requests to do it by myself.
Good Game!
When I tried to capture a piece with my knight, it threw the "more than 1 piece of this type has access to destination square" error in the console. However, I had only one knight attacking that square. I realized that it was the enemy knight that was also attacking that square.
screenshot: https://i.imgur.com/shyVANk.png
link to the match: https://lichess.org/il9DHkMx7eKs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.