Procore Technologies interview question

Coding example; pseudo code for a social game