The stockfish is not responding cam you give the server file of local host
@SimpleCodingTutorials8 сағат бұрын
To get the server running, you'll need to use the Live Preview extension in VS Code. This will set up a local server for you. Also the files for the project are linked in the description.
@Tech_help017 сағат бұрын
@@SimpleCodingTutorials But there is no server file and I also have downloaded the live preview but still it doesn't move
@Tech_help0111 сағат бұрын
When I add my username it shows that you are disconnected from the server
@SimpleCodingTutorials8 сағат бұрын
If two players are already connected to the server, a third one will be disconnected.
@Tech_help017 сағат бұрын
@@SimpleCodingTutorials Excuse me I wanted to tell that there is a hackathon where we have to make a game of chess and the first round is on 14th so will you join us ?
@Tech_help017 сағат бұрын
We have a team of graphic designer and coders
@isaacorellana17547 күн бұрын
This is so disorganized :/
@SantoshKumar-mg9nj11 күн бұрын
Thanks! bot is up and working fine. But the issue is not every url has file name and extension. Can you give some suggestion on that. Also it will be helpful to retain complete file name and extension.
@SimpleCodingTutorials11 күн бұрын
It depends on the type of URL. For example, for URLs like this example.com/files/download?id=12345 Check the HTTP response headers for Content-Disposition to extract the filename. const filename = fileResponse.headers.get('content-disposition').split('filename=')[1]; For URLs with Content-Disposition header like this httpbin.org/response-headers?Content-Disposition=attachment%3B%20filename%3D%22example.txt%22 Parse the Content-Disposition header to get the filename const contentDisposition = new URL(url).searchParams.get('Content-Disposition'); const filename = contentDisposition.match(/filename="(.+)"/)[1];
@SantoshKumar-mg9nj11 күн бұрын
Thanks for reply. I worked around it. And its great. But just found out about API limit i.e. 50mb. I came across with some bots that can send 2GB even upto 4GB files. Can we get any info about that in a separate video? I still can't figure out how ? Update- I tried Github actions Workflow to trigger with URL via CF's webhook. But resulted limit is same.
@SimpleCodingTutorials10 күн бұрын
@@SantoshKumar-mg9nj Yes, it is possible to handle larger files (up to 2GB) using the MTProto API. This API allows you to bypass the 50MB limit of the standard Bot API. I'll consider creating a video to show how you can use the MTProto API with JavaScript, including how to handle large file uploads and downloads.
@SantoshKumar-mg9nj10 күн бұрын
@@SimpleCodingTutorials Great ! Thanks. Eagerly waiting for it.
@SpikyRoss14 күн бұрын
Thanks for the tutorial
@HazeBeats116 күн бұрын
yooo
@ManoharPra17 күн бұрын
Hii bro please give me contact details I have some project
@ManoharPra17 күн бұрын
Hii bro please give me contact details I have some project
@SimpleCodingTutorials17 күн бұрын
See part 2 of the video here: kzbin.info/www/bejne/pnSnZaywbbStpdE
@mcgungtominay17 күн бұрын
Where i did have the html template codes bruh????
@SimpleCodingTutorials17 күн бұрын
The code for each video is in its description.
@fadilclasher684720 күн бұрын
bro pls do one withpython code
@SimpleCodingTutorials20 күн бұрын
Hi! This channel primarily focuses on JavaScript and web development. For Python-related tutorials, there are many other great resources and channels dedicated to that language.
@doflamingo832028 күн бұрын
I UPDATED IT THE ERROR IS OCCURING AFTER MOVING THE PIECE
@SimpleCodingTutorials27 күн бұрын
I downloaded the code and tested it. There were no errors on my end. Could you let me know if you get the error right from the start or only at a specific position? Also, have you moved the images to a new folder or changed their names?
@doflamingo832028 күн бұрын
TypeError: Cannot read properties of undefined (reading 'includes') => This is the error I am encountering Can you help with this?
@SimpleCodingTutorials28 күн бұрын
could you let me know at what point this error occurs? Is it at the start of the game, or in a specific position or situation? Have you updated the code? Code: tinyurl.com/javascript-chess-part-2
@umadevi-ce6mhАй бұрын
Drag and drop is not working properly
@SimpleCodingTutorialsАй бұрын
It's possible your code is outdated. Please get the latest version from this link: Code: tinyurl.com/javascript-chess and check if it fixes the issue.
@Lamnu192Ай бұрын
The getKingLastMove function seems to have an error. It is getting the first move the king makes rather than the last move.
@SimpleCodingTutorialsАй бұрын
You're right, the getKingLastMove function should use findLast instead of find to get the most recent move of the king. This error was corrected in later episodes, but I forgot to update it in this one. Thank you for pointing it out!
@mrtherapy309Ай бұрын
okay, i used your method and it works like magic. thank you very much
@mrtherapy309Ай бұрын
hey I use a telegraph dependency, how do i do that with this code. is there a way to upload the full folder?
@alfredomf122 күн бұрын
Did you manage to do it? I'm trying to use webpack but keep getting errors
@mrtherapy30922 күн бұрын
@@alfredomf1 yes, I used his method and I was able to get it to work perfectly. Its been working ever since. Just do exactly what you see on the video and you'll have the same good result. You don't have to use any telegraph dependency or anything
@mrtherapy30922 күн бұрын
I could show you my full code if you need more clarification. Just let me know
@JavaSqrАй бұрын
This ain't working
@SimpleCodingTutorialsАй бұрын
Please ensure you replace "telegramAuthToken" in the code with your bot's authorization token.
@JavaSqrАй бұрын
@SimpleCodingTutorials No, I mean this thing Cloudflare Workers doesn't exist anymore
@SimpleCodingTutorialsАй бұрын
@@JavaSqr Cloudflare Workers is still active . You can access them at this link workers.cloudflare.com
@doflamingo8320Ай бұрын
I am encountering an error that says UNEXPECTED END OF JSON INPUT
@SimpleCodingTutorialsАй бұрын
It's possible your code is outdated. Please get the latest version from this link: Code: tinyurl.com/javascript-chess-part-2 and check if it fixes the issue.
@doflamingo8320Ай бұрын
BESSTTT ONE
@AjmalAlkhalediАй бұрын
Code on github , not working , no animation !!
@SimpleCodingTutorialsАй бұрын
To ensure the code runs correctly, please make sure you’re running it on a local server. You can achieve this by using the ‘Live Preview’ extension in VS Code
@AjmalAlkhalediАй бұрын
@@SimpleCodingTutorials It doesn't work, I'm sure Even the photos were not added And I added them path : Chess game 8
@SimpleCodingTutorialsАй бұрын
@@AjmalAlkhaledi Is there any error in the console?
Part 2 is here! Check it out: kzbin.info/www/bejne/gqWWq4efo7mfqLs
@Mohammed.1471Ай бұрын
No explanation???
@SimpleCodingTutorialsАй бұрын
Could you please clarify what you're referring to? I'd be happy to provide an explanation once I understand what you're looking for. Thank you!
@doflamingo8320Ай бұрын
Drag and drop is not working for me ?
@doflamingo8320Ай бұрын
I have the correct file paths and there is no error in console?
@doflamingo8320Ай бұрын
To be precise my pieces are not moving Your help would be appreciated
@SimpleCodingTutorialsАй бұрын
It's possible your code is outdated. Please get the latest version from this link: Code: tinyurl.com/javascript-chess and check if it fixes the issue.
@Us3RAgentАй бұрын
Thanks!
@user-wq9jc7hr3r2 ай бұрын
Some bots are for downloading videos. Along with downloading the video, they also take screenshots from the middle of the video. Can you make such a bot?
@SimpleCodingTutorials2 ай бұрын
Creating a bot that downloads videos from KZbin may violate KZbin’s Terms of Service. Making a video tutorial about such a bot could potentially encourage this violation. This is the reason why I choose not to create such content. However, from a technical standpoint, it is indeed possible to create such a bot.
@ZagzookGames2 ай бұрын
excellent video I was wondering can you create games like sudoku using P5.js?
@SimpleCodingTutorials2 ай бұрын
Yes, you can definitely create a Sudoku game using p5.js. However, for complex games, a game-focused library might be more suitable.
@emmadkareem52472 ай бұрын
Good work, where can I find the project file if available for download please?
@SimpleCodingTutorials2 ай бұрын
You can find the code for all the videos in the video description.
@emmadkareem52472 ай бұрын
@@SimpleCodingTutorials Wow! Thanks much for all your remarkable effort. Very well done.
@fakebent2 ай бұрын
Whenever I castle, the bot doesn't make a move back.
@SimpleCodingTutorials2 ай бұрын
Could you provide more details about any error messages you're seeing in the console? Also, do you mind sharing the position when the problem occurs? It might help me understand what's going on. Thanks!
@gamelife19872 ай бұрын
Can u make mpd with clearkey player?
@SimpleCodingTutorials2 ай бұрын
Yes, it is possible to integrate ClearKey DRM into the video player created in the tutorial. Implement the Encrypted Media Extensions (EME) API within your code to handle key exchange and decryption. This will enable secure playback of ClearKey-protected content in your video player.
@GergPerson2 ай бұрын
where are you calling the generateFEN() function? in drop? I'm getting enPassantSquare = "blank" even when an enPassant is possible
@GergPerson2 ай бұрын
Found the answer, Im calling it in checkForEndgame() and it works. Thanks again for all the videos
@SimpleCodingTutorials2 ай бұрын
I call generateFEN() within the checkForEndGame() function.What is the situation where en passant is possible , but the player is unable to play it?
@GergPerson2 ай бұрын
before you call displayPromotionChoices() you have to "let captured = squareContent.pieceColor != "blank";" then you pass in captured as a parameter. captured was set to false and I was getting a bug when promoting on a capture, it wouldn't delete the captured piece. Thank you for these videos, they're fantastic
@SimpleCodingTutorials2 ай бұрын
I perform a check for captures in the following way: if (squareContent.pieceColor == "blank" && legalSquares.includes(destinationSquareId)) { // This is the scenario where no capture has occurred (captured = false) } if (squareContent.pieceColor != "blank" && legalSquares.includes(destinationSquareId)) { // This is the scenario where a capture has occurred (captured = true) } If you’re encountering an error, it might be due to another reason. Could you provide the exact error message you received? Also, could you describe the situation when you encountered this error?
@Black-ds3sj2 ай бұрын
How to update code, without use edit code option. because i use Android, It's hard to update here 😔
@SimpleCodingTutorials2 ай бұрын
Unfortunately, there isn’t a dedicated Cloudflare Workers app for Android. To manage your Cloudflare Workers on a mobile device, you’ll need to use a web browser to visit the Cloudflare website.
@Black-ds3sj2 ай бұрын
@@SimpleCodingTutorials Api/GitHub Can be done with?
@hemanthpatelll2 ай бұрын
I need file to link bot bro please help me previous bot deployed but it is replying our message only😭
@SimpleCodingTutorials2 ай бұрын
The code for all the videos is available in the description of each video. tinyurl.com/url-uploader-bot
@hemanthpatelll2 ай бұрын
@@SimpleCodingTutorials bro i have checked but it just replying the message i need file to link bot which gives link of our file
@SimpleCodingTutorials2 ай бұрын
@@hemanthpatelll Don’t forget to replace your bot token in the first line where const telegramAuthToken = '1234567890';
@hemanthpatelll2 ай бұрын
@@SimpleCodingTutorials did bro but not came please can u give me your telegram username 😭
@VivekKumar-hk5km11 күн бұрын
@@SimpleCodingTutorialswhat hemant is saying that needs "telegram file to direct link bot" hosted on cloudfare worker.
@hemanthpatelll2 ай бұрын
Bro Please Help Me 😭😭
@hemanthpatelll2 ай бұрын
Hello Bro I need your help can u send me your telegram id please
@GergPerson2 ай бұрын
You are the man, thank you very much
@allenang29223 ай бұрын
I am getting this error: Uncaught ReferenceError: SharedArrayBuffer is not defined in stockfish-nnue-16-no-Worker.js
@SimpleCodingTutorials3 ай бұрын
Try using the Live Preview extension for your local server setup.
@hawkeyemihawk56972 ай бұрын
instead of using stockfish-nnue-16.js as engine worker, try using stockfish-nnue-16-single.js
@user-ny7pn5pb8h3 ай бұрын
great tutorial I was looking for it .
@harishsidagam3 ай бұрын
Im running with live server but its not working means the other side that is black is not responding..
@SimpleCodingTutorials3 ай бұрын
Try Live Preview extension instead
@harishsidagam3 ай бұрын
The other side that is black is not responding to the white moves
@harishsidagam3 ай бұрын
Is there any thing to add
@SimpleCodingTutorials3 ай бұрын
For Stockfish to work, you need to run the game on a local server. If you’re using Visual Studio Code, ‘Live Server’ can help. Start the server and open the game through localhost.
@harishsidagam3 ай бұрын
Is their should be any file regarding stockfish
@harishsidagam3 ай бұрын
I'm running with live server but the same problem occurs
@tillwill32323 ай бұрын
What i dont understand is did you have to install python and this emscripten compiler thingy for stockfish.js to work? Cause thats what they write on their github at least and im a bit confused. If i wanna run stockfish.js on my website i need to install python and emscripten on the server that hosts my website?!
@rafaex833 ай бұрын
Hello, how to configure the game to the latest version of Stockfish 16.1?
@SimpleCodingTutorials3 ай бұрын
The latest JavaScript version of Stockfish is currently 16.0.0. You can check for any updates or newer versions on the official GitHub page here: github.com/nmrugg/stockfish.js
@rafaex833 ай бұрын
@@SimpleCodingTutorials Thanks, do you plan to add a countdown timer to the code?
@SimpleCodingTutorials3 ай бұрын
@@rafaex83 Yes, I plan to add a countdown timer to the code. It will be implemented when the 2-player mode is added to the game.
@Daniel-qp6td3 ай бұрын
😳 *Promo sm*
@SimpleCodingTutorials3 ай бұрын
Please remember to include a reference to Phaser 3 in your webpage from the provided link: phaser.io/download/release/v3.80.1
@bramhabhaktisagar9873 ай бұрын
Plz make a video for txtuploader bot & Extractor bot for telegram
@user-sy9eu7py8v3 ай бұрын
Hello bro! I'm trying to understand how to obtain an upload URL. I've recently integrated the upload speed feature, but now I need the corresponding upload URL. Could you guide me on this?
@SimpleCodingTutorials3 ай бұрын
Hi! You can obtain sample URLs from websites such as getsamplefiles.com. These sites provide a variety of sample files that you can use for testing purposes. Alternatively, if you have your own server, you can host a file there and use that URL for your upload speed feature.
@KrunalKRG02123 ай бұрын
hey can you give me upload speed code if possible
@SimpleCodingTutorials3 ай бұрын
@@KrunalKRG0212 Sure, the link to the code is in the video description.Here’s the link to the code. tinyurl.com/javascript-speed-test
@ademmaster68113 ай бұрын
Can you upgrade the analysis system by adding back and forward moves as well as displaying the coordinates of each move made?
@SimpleCodingTutorials3 ай бұрын
Yes, I’m planning to add these features in my future videos.