All that you need to know is to have the right kind of snake. Check with your local pet store to see what snake is a good one for a pet. Yes you can play with the snake but you have to make sure that you are always in control.
It would be a little hard to play with a snake. Mostly you can just hold them on her hands or arms and stroke their scales or watch them move around. It's imprtant to have a large enough space for your snake to live in, and be comfortable feeding them live or frozen animals.
To have a sanke as a pet you would need to know what type of snake it is...poisonis or non. You would need to know what kind of surroundings to keep it in that are similar to it's natural habitat. You need to know what to feed and what are some signs of illness in the snake.
You can gently play with a snake. The snake should be midway between meals. It should not be in a shedding cycle when it is under stress. Take it outside where it's warm and allow it wrap around your body but move slowly so you don't startle it.