Text this: Game-theory behaviour of large language models: The case of Keynesian beauty contests