For 500 dollars your best bet would be a custom PC, that at that price would absolutely blow a laptop of the same price out of the water. It's not as intimidating as it seems to build a computer once you do some research.
But if you absolutely have to have a laptop I would recommend something like this. http
important specs to note are the i5 processor and more importantly the GTX940m graphics card.
I would say get the one with the i5 5th gen processor (there are 4 options on the page)
The difference between 5th and 6th gen is very minimal so its not worth the money if your one tight budget.
This should be enough to run those games at a decent clip.