Goodgame Studios interview question

coding challenge