Пікірлер
@Tech_help01
@Tech_help01 10 сағат бұрын
The stockfish is not responding cam you give the server file of local host
@SimpleCodingTutorials
@SimpleCodingTutorials 8 сағат бұрын
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_help01
@Tech_help01 7 сағат бұрын
@@SimpleCodingTutorials But there is no server file and I also have downloaded the live preview but still it doesn't move
@Tech_help01
@Tech_help01 11 сағат бұрын
When I add my username it shows that you are disconnected from the server
@SimpleCodingTutorials
@SimpleCodingTutorials 8 сағат бұрын
If two players are already connected to the server, a third one will be disconnected.
@Tech_help01
@Tech_help01 7 сағат бұрын
@@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_help01
@Tech_help01 7 сағат бұрын
We have a team of graphic designer and coders
@isaacorellana1754
@isaacorellana1754 7 күн бұрын
This is so disorganized :/
@SantoshKumar-mg9nj
@SantoshKumar-mg9nj 11 күн бұрын
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.
@SimpleCodingTutorials
@SimpleCodingTutorials 11 күн бұрын
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-mg9nj
@SantoshKumar-mg9nj 11 күн бұрын
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.
@SimpleCodingTutorials
@SimpleCodingTutorials 10 күн бұрын
@@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-mg9nj
@SantoshKumar-mg9nj 10 күн бұрын
@@SimpleCodingTutorials Great ! Thanks. Eagerly waiting for it.
@SpikyRoss
@SpikyRoss 14 күн бұрын
Thanks for the tutorial
@HazeBeats1
@HazeBeats1 16 күн бұрын
yooo
@ManoharPra
@ManoharPra 17 күн бұрын
Hii bro please give me contact details I have some project
@ManoharPra
@ManoharPra 17 күн бұрын
Hii bro please give me contact details I have some project
@SimpleCodingTutorials
@SimpleCodingTutorials 17 күн бұрын
See part 2 of the video here: kzbin.info/www/bejne/pnSnZaywbbStpdE
@mcgungtominay
@mcgungtominay 17 күн бұрын
Where i did have the html template codes bruh????
@SimpleCodingTutorials
@SimpleCodingTutorials 17 күн бұрын
The code for each video is in its description.
@fadilclasher6847
@fadilclasher6847 20 күн бұрын
bro pls do one withpython code
@SimpleCodingTutorials
@SimpleCodingTutorials 20 күн бұрын
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.
@doflamingo8320
@doflamingo8320 28 күн бұрын
I UPDATED IT THE ERROR IS OCCURING AFTER MOVING THE PIECE
@SimpleCodingTutorials
@SimpleCodingTutorials 27 күн бұрын
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?
@doflamingo8320
@doflamingo8320 28 күн бұрын
TypeError: Cannot read properties of undefined (reading 'includes') => This is the error I am encountering Can you help with this?
@SimpleCodingTutorials
@SimpleCodingTutorials 28 күн бұрын
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
@umadevi-ce6mh Ай бұрын
Drag and drop is not working properly
@SimpleCodingTutorials
@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
@Lamnu192 Ай бұрын
The getKingLastMove function seems to have an error. It is getting the first move the king makes rather than the last move.
@SimpleCodingTutorials
@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
@mrtherapy309 Ай бұрын
okay, i used your method and it works like magic. thank you very much
@mrtherapy309
@mrtherapy309 Ай бұрын
hey I use a telegraph dependency, how do i do that with this code. is there a way to upload the full folder?
@alfredomf1
@alfredomf1 22 күн бұрын
Did you manage to do it? I'm trying to use webpack but keep getting errors
@mrtherapy309
@mrtherapy309 22 күн бұрын
​@@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
@mrtherapy309
@mrtherapy309 22 күн бұрын
I could show you my full code if you need more clarification. Just let me know
@JavaSqr
@JavaSqr Ай бұрын
This ain't working
@SimpleCodingTutorials
@SimpleCodingTutorials Ай бұрын
Please ensure you replace "telegramAuthToken" in the code with your bot's authorization token.
@JavaSqr
@JavaSqr Ай бұрын
​ @SimpleCodingTutorials No, I mean this thing Cloudflare Workers doesn't exist anymore
@SimpleCodingTutorials
@SimpleCodingTutorials Ай бұрын
@@JavaSqr Cloudflare Workers is still active . You can access them at this link workers.cloudflare.com
@doflamingo8320
@doflamingo8320 Ай бұрын
I am encountering an error that says UNEXPECTED END OF JSON INPUT
@SimpleCodingTutorials
@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
@doflamingo8320 Ай бұрын
BESSTTT ONE
@AjmalAlkhaledi
@AjmalAlkhaledi Ай бұрын
Code on github , not working , no animation !!
@SimpleCodingTutorials
@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
@AjmalAlkhaledi Ай бұрын
@@SimpleCodingTutorials It doesn't work, I'm sure Even the photos were not added And I added them path : Chess game 8
@SimpleCodingTutorials
@SimpleCodingTutorials Ай бұрын
@@AjmalAlkhaledi Is there any error in the console?
@WhipLash2457
@WhipLash2457 Ай бұрын
thanls so much i needed this
@Duniacuan905
@Duniacuan905 Ай бұрын
Bruh can u contact me?
@SimpleCodingTutorials
@SimpleCodingTutorials Ай бұрын
You can contact me at [email protected]
@SimpleCodingTutorials
@SimpleCodingTutorials Ай бұрын
Part 2 is here! Check it out: kzbin.info/www/bejne/gqWWq4efo7mfqLs
@Mohammed.1471
@Mohammed.1471 Ай бұрын
No explanation???
@SimpleCodingTutorials
@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
@doflamingo8320 Ай бұрын
Drag and drop is not working for me ?
@doflamingo8320
@doflamingo8320 Ай бұрын
I have the correct file paths and there is no error in console?
@doflamingo8320
@doflamingo8320 Ай бұрын
To be precise my pieces are not moving Your help would be appreciated
@SimpleCodingTutorials
@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
@Us3RAgent Ай бұрын
Thanks!
@user-wq9jc7hr3r
@user-wq9jc7hr3r 2 ай бұрын
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?
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
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.
@ZagzookGames
@ZagzookGames 2 ай бұрын
excellent video I was wondering can you create games like sudoku using P5.js?
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
Yes, you can definitely create a Sudoku game using p5.js. However, for complex games, a game-focused library might be more suitable.
@emmadkareem5247
@emmadkareem5247 2 ай бұрын
Good work, where can I find the project file if available for download please?
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
You can find the code for all the videos in the video description.
@emmadkareem5247
@emmadkareem5247 2 ай бұрын
@@SimpleCodingTutorials Wow! Thanks much for all your remarkable effort. Very well done.
@fakebent
@fakebent 2 ай бұрын
Whenever I castle, the bot doesn't make a move back.
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
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!
@gamelife1987
@gamelife1987 2 ай бұрын
Can u make mpd with clearkey player?
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
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.
@GergPerson
@GergPerson 2 ай бұрын
where are you calling the generateFEN() function? in drop? I'm getting enPassantSquare = "blank" even when an enPassant is possible
@GergPerson
@GergPerson 2 ай бұрын
Found the answer, Im calling it in checkForEndgame() and it works. Thanks again for all the videos
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
I call generateFEN() within the checkForEndGame() function.What is the situation where en passant is possible , but the player is unable to play it?
@GergPerson
@GergPerson 2 ай бұрын
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
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
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-ds3sj
@Black-ds3sj 2 ай бұрын
How to update code, without use edit code option. because i use Android, It's hard to update here 😔
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
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-ds3sj
@Black-ds3sj 2 ай бұрын
@@SimpleCodingTutorials Api/GitHub Can be done with?
@hemanthpatelll
@hemanthpatelll 2 ай бұрын
I need file to link bot bro please help me previous bot deployed but it is replying our message only😭
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
The code for all the videos is available in the description of each video. tinyurl.com/url-uploader-bot
@hemanthpatelll
@hemanthpatelll 2 ай бұрын
@@SimpleCodingTutorials bro i have checked but it just replying the message i need file to link bot which gives link of our file
@SimpleCodingTutorials
@SimpleCodingTutorials 2 ай бұрын
@@hemanthpatelll Don’t forget to replace your bot token in the first line where const telegramAuthToken = '1234567890';
@hemanthpatelll
@hemanthpatelll 2 ай бұрын
@@SimpleCodingTutorials did bro but not came please can u give me your telegram username 😭
@VivekKumar-hk5km
@VivekKumar-hk5km 11 күн бұрын
​@@SimpleCodingTutorialswhat hemant is saying that needs "telegram file to direct link bot" hosted on cloudfare worker.
@hemanthpatelll
@hemanthpatelll 2 ай бұрын
Bro Please Help Me 😭😭
@hemanthpatelll
@hemanthpatelll 2 ай бұрын
Hello Bro I need your help can u send me your telegram id please
@GergPerson
@GergPerson 2 ай бұрын
You are the man, thank you very much
@allenang2922
@allenang2922 3 ай бұрын
I am getting this error: Uncaught ReferenceError: SharedArrayBuffer is not defined in stockfish-nnue-16-no-Worker.js
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
Try using the Live Preview extension for your local server setup.
@hawkeyemihawk5697
@hawkeyemihawk5697 2 ай бұрын
instead of using stockfish-nnue-16.js as engine worker, try using stockfish-nnue-16-single.js
@user-ny7pn5pb8h
@user-ny7pn5pb8h 3 ай бұрын
great tutorial I was looking for it .
@harishsidagam
@harishsidagam 3 ай бұрын
Im running with live server but its not working means the other side that is black is not responding..
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
Try Live Preview extension instead
@harishsidagam
@harishsidagam 3 ай бұрын
The other side that is black is not responding to the white moves
@harishsidagam
@harishsidagam 3 ай бұрын
Is there any thing to add
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
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.
@harishsidagam
@harishsidagam 3 ай бұрын
Is their should be any file regarding stockfish
@harishsidagam
@harishsidagam 3 ай бұрын
I'm running with live server but the same problem occurs
@tillwill3232
@tillwill3232 3 ай бұрын
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?!
@rafaex83
@rafaex83 3 ай бұрын
Hello, how to configure the game to the latest version of Stockfish 16.1?
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
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
@rafaex83
@rafaex83 3 ай бұрын
@@SimpleCodingTutorials Thanks, do you plan to add a countdown timer to the code?
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
@@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-qp6td
@Daniel-qp6td 3 ай бұрын
😳 *Promo sm*
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
Please remember to include a reference to Phaser 3 in your webpage from the provided link: phaser.io/download/release/v3.80.1
@bramhabhaktisagar987
@bramhabhaktisagar987 3 ай бұрын
Plz make a video for txtuploader bot & Extractor bot for telegram
@user-sy9eu7py8v
@user-sy9eu7py8v 3 ай бұрын
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?
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
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.
@KrunalKRG0212
@KrunalKRG0212 3 ай бұрын
hey can you give me upload speed code if possible
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
​@@KrunalKRG0212 Sure, the link to the code is in the video description.Here’s the link to the code. tinyurl.com/javascript-speed-test
@ademmaster6811
@ademmaster6811 3 ай бұрын
Can you upgrade the analysis system by adding back and forward moves as well as displaying the coordinates of each move made?
@SimpleCodingTutorials
@SimpleCodingTutorials 3 ай бұрын
Yes, I’m planning to add these features in my future videos.