Checkers on React - Part 4 - Figures, Selectionby@rzhelieznov
745 reads

Checkers on React - Part 4 - Figures, Selection

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

Too Long; Didn't Read

In the previous part, we’ve prepared logic which gives us the ability to create figures. We know that in Checkers (standard variant) we have 12 figures for every player and every figure is placed on the dark cell. In chess and checkers, rows are labelled from 1 to 8 and columns from A to H. I want to add such labels, this will help us with more easiest visualization. The game board is ready and we can start to create game logic. We need dark cells and the first 3 rows for one side and the last 3 rows. And than in `App.tsx` we use this function.
featured image - Checkers on React - Part 4 - Figures, Selection
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!