I have used laptop for gaming while I was studying. At the time it was a decent model, but if I did not plan to study at that time I would buy PC instead.
Laptops are not really meant for gaming unless they are exclusively made for gaming. And those usually cost quite some money, too. If you are not a person that travels a lot, your best bet is to build your own PC. If you are unsure how to do so and what hardware to choose, I am sure people on the forum will be more than glad to help.
Laptops can be real pain to deal with. They tend to overheat (not all of them, but a lot of them do). You need to clean it more often. If it has only 1 exit / vent it can easily get clogged up with dust and make it overheat even more. If you are under warranty and do not want to break it, you would want to take it to the service to deal with those issues. If you are not under warranty and you want to do it yourself, it isn't too hard, but certain models have so many screws and you need to take apart the whole thing to clean it up. My roommate had such a laptop and taking it apart took forever. Mine was really simple to open up and clean, I could have done it 4 times in a row while my roommate deals with his laptop.
Do not buy just about anything built by certain shops either. I have seen plenty of shops offering "great deals" but their configurations are far away from being great. Be it the power consumption, issues between each other not being a good combination, to choosing really bad models of processors and such. Your best bet is to research it yourself, order the things you like and know that will work fine together and that's about it.