Myvideo

Guest

Login

Create a Chess Game with ReactJS - Part 7: Basic pawn rules

Uploaded By: Myvideo
1 view
0
0 votes
0

In this seventh part of the series we are going to create the basic rules for the pawns! The code in this video can be found on this GitHub repository: Timestamps: 0:00 Introduction 0:25 Adding black pawn movement 2:55 Prevent pawn movement when it is blocked 3:30 Creating tileIsOccupied function 6:44 Implementing logic for tileIsOccupied 8:18 Seperating special move and normal move for pawn 9:35 Implementing same rules for the black pawns 11:35 Refactoring pawn logic code 18:35 Result of the refactoring

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later