... | ... | @@ -74,7 +74,7 @@ expected return. All functions are called if implemented by the bot. The follow |
|
|
* others - list other players in the game
|
|
|
|
|
|
## Callbacks
|
|
|
* onGameRevealed - the game starts, this callback tells you who the players are and provides a list of spies
|
|
|
* onGameRevealed - Called when the game starts. This callback tells you who the players are. If you are a spy, then this function also provides the list of spies (including yourself)
|
|
|
* onMissionAttempt - callback that triggers before the selection phase
|
|
|
* onTeamSelected - callback that triggers after a team has been selected, but before the mission takes place
|
|
|
* onVoteComplete - callback for when the whole team has voted - revealing the votes
|
... | ... | |