Often, no, they don't. The screens from TVs, computers, video games, cellphones, and iPods emit light that can trick your brain into thinking it's still daytime.
As a result, you may find yourself staying awake for a short or long stretch when you should be resting. How much it affects your sleep really depends on the person and how late they're playing, so it's smart to wind down and step away from screens before bed.