Myvideo

Guest

Login

Create a Chess Game with ReactJS - Part 8: Attacking pawn

Uploaded By: Myvideo
1 view
0
0 votes
0

In this eighth part of the series we are creating the attacking logic for the pawns! The code in this video can be found on this GitHub repository: Timestamps: 0:00 Introduction 1:20 Attack logic 3:05 Check if opponent is occupying tile 7:35 Logging current piece and attacked piece 10:18 Move validMove function outside setPieces 12:05 Explaining reduce function 18:00 Fixing setPieces

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later