Domanda di colloquio di Socialpoint

I was asked to write some pseudo code describing how to implement some simple game features.