Have you ever played chess against a chess computer? They are purely physical. Alpha Zero Chess even learns from its mistakes and has reached superhuman abilities. If you truly want to know "how?", I suggest you learn a little neuroscience.
Alpha Zero is a calculator: it understands nuthin'. Go, tell it a joke, wait (forever) for the chuckle.
More than a few neuroscientists ask the same question:
how do unconscious particles give rise to consciousness?, so mebbe
you need to learn a little neuroscience.
*
So going back to my question, your answer is what? Yes? No?
My answer is...
I'm sayin' electrons, neutrons, and protons (unconscious particles which cannot remember, cannot understand, cannot learn, cannot conclude, cannot be logical, cannot infer, etc) when put together in any way and in any quantity still aren't conscious, still can't remember, still can't understand, still can't learn, still can't conclude, still can't be logical, still can't infer, etc).
And yet: here we are, supposedly nuthin' but conglomerations of electrons, neutrons, and protons, remembering, learning, concluding, bein' logical, inferring, etc.
As I asked Phyllo, up-thread...
Which is more likely?
-Unconscious particles somehow become conscious when arranged just right.
-Consciousness, or mind, is sumthin' other than the product of unconscious particles.