Check out
https://pcpartpicker.com/ as they have custom builds documented. Seems like you can build a solid overall gaming rig for around $800 using the AMD Ryzen 5 CPU and a AMD RX 580 video card.
Check out these builds for under $800.
https://pcpartpicker.com/builds/#X=0,80905&s=33