Coding a Chess Game with Stockfish API - JavaScript Tutorial
Offered By: freeCodeCamp
Course Description
Overview
Syllabus
⌨️ Introduction
⌨️ Object-oriented model for a chess app
⌨️ Create a new Angular project
⌨️ Abstract Piece class
⌨️ Bishop class
⌨️ Knight class
⌨️ Queen class
⌨️ Rook class
⌨️ King class
⌨️ Pawn class
⌨️ Chessboard class basic props
⌨️ Generate chess-board component
⌨️ working on displaying the chessboard in the browser
⌨️ Showing a final view of a chess board with pieces
⌨️ Discussing how we can implement methods
⌨️ Implementing method to check if the player is in check
⌨️ Implement a method to see if the position is safe after the move
⌨️ Implement a method to find all possible safe squares
⌨️ Method that marks selected piece and piece's safe squares
⌨️ Method that prevents selecting pieces of a player who is not playing
⌨️ Implement a method that is responsible for moving pieces
⌨️ Implement placingPiece method
⌨️ Declare properties and methods that signalize if the king is in check
⌨️ Implementing Castling move
⌨️ implementing EnPassant move
⌨️ implementing Pawn promotion
⌨️ Implement a method that checks if a checkmate or stalemate is happening
⌨️ Implement a method that checks if the game is overdue 50-move rule
⌨️ Insufficient material poistions
⌨️ Show game over the message in the application
⌨️ Demonstrating that checkmate, stalemate, and insufficient material position detection are working
⌨️ FEN Converter class
⌨️ Implement a method that detects if the same position occurred 3 times Threefold repetition rule
⌨️ Method that flips the board
⌨️ Generate computer mode component, stockfish service
⌨️ Quick explanation of stockfish rest API that we are going to use to get moves from the computer
⌨️ Implement a method that retrieves the best move from the Stockfish engine
⌨️ Install angular material
⌨️ Working on nav menu component
⌨️ Working on computer mode component
⌨️ Working on a dialog component
⌨️ Changes to make our application compatible with the new version of Stockfish API
⌨️ showing play against computer dialog cmp
⌨️ Working on a component that shows us the list of previous moves in the game
⌨️ Implement a method that stores move in short algebraic notation
⌨️ Implement a method to emit sound after each move type
⌨️ Implement a method to navigate between moves in the move list component using the left and right arrow
Taught by
freeCodeCamp.org
Related Courses
Intro to the Design of Everyday ThingsUdacity Android. Programación de Aplicaciones
Miríadax Programming Mobile Applications for Android Handheld Systems: Part 1
University of Maryland, College Park via Coursera Mobile and Ubiquitous Computing
Georgia Institute of Technology via Coursera Android: Introducción a la Programación
Universitat Politècnica de València via edX