dstockto / react-simple-games

Learning/Toy repository for i3logix Code Camp participants to learn about web development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not all winning moves are highlighted

dstockto opened this issue · comments

In the case where there's more than one winning row, only the first one is highlighted. It would be nice to see all the winning moves if a player manages to win in more than one direction.

image

It would be great to see both the horizontal and vertical wins highlighted. This also happens on combinations including diagonals too.