Skip to content

Instantly share code, notes, and snippets.

@gerardpaapu
Created April 11, 2012 02:53
Show Gist options
  • Save gerardpaapu/2356553 to your computer and use it in GitHub Desktop.
Save gerardpaapu/2356553 to your computer and use it in GitHub Desktop.
class Doctor extends PlayerRole
teamName: 'Doctor'
advice:
'unless:hunt': ->
# if the doctor chooses the same player
# as the wolves choose to hunt
# prevent the hunt method
@choosePlayer() is @chooseInnocent()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment