Text this: Cooperation within triplets in the rock-paper-scissors game