Balancing playing and learning