The best approach is moderation. If you are a student, respect the classroom. If you are a teacher, respect the need for a break. If you are a parent, remember that you likely played Oregon Trail or Solitaire when you should have been doing homework.