Should i execute Network Logic only on Masterclient?

Clyon
Clyon

Hey i want to implement a 2 Player Memory Game in unity. Right now the Code that is running only on the masterclient is when the cards get shuffled and then send to the other Client. All the other Code(opening cards;checking If same cards ...) is Happening on both clients. i dont have any sync issues at the Moment. My question: is it better to run the network logic (checking If same cards;closing cards and so on...) only on the masterclient and if yes: why?

Answers