For gaming, you said? Then the Surface Pro 4 would be a mediocre choice.
I think you can get a bit closer to the MacBook, with an i7 base model for cheaper.