I’ve only just read this on the BBC News website (On right. 2nd down in ‘Features & Analysis’, the ‘Escape from Pain’ article) but it seems they’ve devised a specific computer game in Seattle to help burns patients cope with severe pain.
It says ‘The aim of the game is "to make a very attention grabbing experience for the patient and basically to give them a place to escape from their pain"’
This does ring a bell with me as I found, after my last knee replacement, that I could get away with far fewer painkillers just by immersing myself in free online computer games (I never normally use them) which kept my mind focused even when I couldn’t get about much or concentrate on books.
I pass it on in the hope it might help.
“There is always a well-known solution to every human problem - neat, plausible, and wrong.” H.L. Mencken