Answer:
Set time limits for play and stick to them.
Keep phones and other gadgets out of the bedroom so you won't play into the night.
Do other activities every day, including exercise. This will lower the health risks of sitting and playing for long stretches of time.