Checkers on React - Part 2 - Creating the Gameboardby@rzhelieznov
1,696 reads

Checkers on React - Part 2 - Creating the Gameboard

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

In this tutorial, we will start with creating the game board. The game board will consist of many cells. In the standard game we have a board with 8 rows and 8 cells in every row, so in general 64 cells. Every cell will have a width and height equal to 64 px and aligned to the center for figures. This prop will tell us which type of cell we have - light or dark. We will use `display:`flex and `wrap-wrap: wrap wrap to wrap.

Company Mentioned

Mention Thumbnail
featured image - Checkers on React - Part 2 - Creating the Gameboard
Roman HackerNoon profile picture

@rzhelieznov

Roman

Javascript and React fan. Also love reading, traveling, pc gaming :)


Receive Stories from @rzhelieznov

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!