tubeshowcase●913,375 videos♡ My collection 0
← Learn to Code

Learn to Code3:16:43

Code a Chess Game with Stockfish API – JavaScript Tutorial

freeCodeCamp.org ↗

From the creator

Learn how to code a chess game that can be played against another person or a computer, using the Stockfish API. The tutorial uses JavaScript and Angular, but you can follow along if you don't know Angular. 💻 Code: https://github.com/awsomeCStutorials/chess-game Stockfish API: https://stockfish.online/ ✏️ Course created by @RobertsTech139 You can email Roberts if you have questions: [email protected] https://www.linkedin.com/in/roberts-tech-2a6977307/ ❤️ Try interactive JavaScript courses we love, right in your browser: https://scrimba.com/freeCodeCamp-JavaScript (Made possible by a grant from our friends at Scrimba) ⭐️ Contents ⭐️ ⌨️ (0:00:00) Introduction ⌨️ (0:02:09) Object-oriented model for a chess app ⌨️ (0:03:55) Create a new Angular project ⌨️ (0:04:07) Abstract Piece class ⌨️ (0:07:07) Bishop class ⌨️ (0:08:22) Knight class ⌨️ (0:09:54) Queen class ⌨️ (0:11:25) Rook class ⌨️ (0:13:14) King class ⌨️ (0:14:37) Pawn class ⌨️ (0:17:06) Chessboard class basic props ⌨️ (0:20:36) Generate chess-board component ⌨️ (0:20:57) working on displaying the chessboard in the browser ⌨️ (0:27:58) Showing a final view of a chess board with pieces ⌨️ (0:28:12) Discussing how we can implement methods ⌨️ (0:32:13) Implementing method to check if the player is in check ⌨️ (0:37:08) Implement a method to see if the position is safe after the move ⌨️ (0:39:17) Implement a method to find all possible safe squares ⌨️ (0:46:39) Method that marks selected piece and piece's safe

Published 2024-05-02 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code