Strategyproof mechanisms for Friends and Enemies Games