Is 600 Euros your budget? Both laptops have fairly low end processors... The graphics card and the RAM are fine... But you will lose out on the processors, especially if you're playing games. If you have a good processor and enough RAM, you can manage with an average graphics card. But if you have a good graphics card and good RAM, you can't manage with an average processor. Is it possible to aim for something a bit more expensive?
Even if it's not... HP is a really bad option now days. Their market share and customer service has dropped like crazy over the last few years. They're the past now. Also, if you want to play games, you will need a 3rd gen core i7 processor. You can't settle for anything less, if you're going to game.
I'm sure you can find a core i7 within your budget.
But I wouldn't buy either of these laptops for gaming, especially in 2012, where the options are much more, and much better than your average HP. Good luck