look4regev / dominoes-react-game

Dominoes game implemented with ReactJS and no backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make domino place to one another

look4regev opened this issue · comments

Allow the player to choose the spot to place the domino and place it there.
It means to change the "drop" function to be on a specific domino and not on the entire Board div.

Following the rules of Domino, if the domino a dup (the same number on both ends) it should be placed on the opposite direction of the domino it was attached too.