Actually for cow, players[0] is an object containing cow (0) and decoy (1). players[1] is an object containing farmers.
For farmer, players[0] is an object containing farmers. players[1] is an object containing cow and decoy randomly.
(incorrect below)
From looking at the mm_client source, it appears that all players are stored in the same array and when calling the turn function, the unit is a pointer to part of the array. Also, given the other comments, the cow is always at index 0 and the decoy is at index 1. Is that correct?
Also which order is the cow and decoy processed in?
Actually for cow, players[0] is an object containing cow (0) and decoy (1). players[1] is an object containing farmers. For farmer, players[0] is an object containing farmers. players[1] is an object containing cow and decoy randomly.
(incorrect below)
From looking at the mm_client source, it appears that all players are stored in the same array and when calling the turn function, the unit is a pointer to part of the array. Also, given the other comments, the cow is always at index 0 and the decoy is at index 1. Is that correct?
Also which order is the cow and decoy processed in?