The werewolf bot recreated in PHP