Well do you REALLY need a laptop? Even if you just spend $400 on the desktop hardware and not the OS or peripherals, it's still not going to be a very powerful system. Here's a build I made for someone with a max budget of $380 and who can only use newegg. You can try tweaking it to see if you can get more out of it. I would upgrade the card to a r260x and maybe add a dvd player.
http/pcpartpicker.com/user/eivuwan/saved/pnBG3C
CPU Intel Pentium G3258 3.2GHz Dual-Core $59.00
Motherboard MSI H81M-P33 Micro ATX LGA1150 $49.99
Memory G.Skill AEGIS 4GB (1 x 4GB) DDR3-1600 $38.70
Storage Toshiba 500GB 3.5" 7200RPM $44.98
Video Card MSI Radeon R7 250X 1GB $99.99
Case Antec VSK-4000 ATX Mid Tower $29.98
Power Supply Corsair 430W ATX12V $43.33
Total: $365.97