I wouldn't bother with a MacBook unless you absolutely need to have Mac only software for school, or you are someone who is so terrible with computers that you consistently manage to turn a Windows installation into a virus ridden mess within an hour of touching it.
When it comes to gaming, MacBooks have two big problems, the first being that unless you are playing the small selection of games that have a decent MacOS port, you're going to need to dual boot with Windows in order to play. Yes, there is virtualization and Wine, but those don't always work and will often exact a rather large performance hit.
The second problem is hardware, namely the weak GPUs Apple tends to stick into most MacBooks. Unless you are spending a huge amount of money for the top of the line model, you're going to be getting Intel integrated graphics or maybe a low end Nvidia mobile GPU that is slightly better than the Intel integrated graphics. Neither are ideal for gaming, unless you're running indie and retro titles exclusively. The high resolution display on the MacBook can also be a curse when gaming, as the MacBook's GPU will not be able to deliver good framerates at the display's native resolution, so you're going to take a big hit in picture quality while playing games from having to run the game at a lower resolution than native.
If you have money to burn and you're only going to be playing games with very, very modest system requirements that are available on Mac, then maybe the MacBook might be alright. If you want a laptop that might actually be capable of playing something more demanding, you might want to steer clear of Apple, you could get a much better specced Windows based laptop for the same amount of money.