He picked the wrong class to skip
We all skip a class or two every now and then, there’s no harm in that, but this guy definitely picked the wrong class to skip. Then again, how could he have ever imagined his teacher would stream his game during class only to shame him? Judging by the picture, this teacher knows a lot about this game.
Perhaps the lesson here isn’t that you shouldn’t miss class, but rather that if you do, use it to go to the beach or meet with friends, don’t waste it on playing video games. And whatever you decide to do – it goes without saying that you should be discrete about it! The teacher might find out you skipped class one way or another, but it doesn’t mean you should make it easy for her.