In my game I need to keep two variables that is updated by all players' actions. There are two states, one is heads and the other is tails. When a player toss a coin and get head I need to update global count of heads and vice versa. The reason I need to do this is that, these counts will be presented to players in the main screen.