Closed bibirico closed 6 years ago
A simple isActive props on top level components should do the trick: https://github.com/seagiants/crystal-hunt/blob/cb9526fc5de98af8a0a00e2be16eadb29cd7788d/src/components/GameBoard.tsx#L31
Yep. To do. It's already avalaible in the boardgame.io api
Oh, excellent, will use that!
When its other player's turn, one can still interact with some elements (clicking on ActionTile will select a a skill for example). All interactions during opponent's turn should be impossible.