daburch / react-checkers

checkers
0 stars 0 forks source link

only allow players to move their own piece and reverse board for black #16

Closed daburch closed 3 years ago

daburch commented 3 years ago

it's less separated now than it was. it's just one return statement. in-linecomments make it clear because each condition is pretty clear cut but a other layouts would probably be easier to read for more complex stuff.