It has an integrated 630 graphics card, which means you can play most games before 2015 fairly well. You can play Overwatch, LoL, Fortnite, and quite a few other games on low and still get 30-50fps. It's about the same as a Radeon R5. But the other parts are good. The i7-7700 runs for $304 on Newegg, then you get decent RAM and a 2TB HDD. It's just the stupidly small 8" x 8" custom mobo and 185w PSU that make it less of a deal at $399. But then again, you're probably not going to find a good gaming rig at Walmart.
You’d be surprised. There’s one of those HP omen towers with a 1070 that pops up for $299 on brickseek. Most places still have it $999-1270