A $500 budget for a laptop to play games with is pretty limited especially if you are looking to buy a new laptop. Excluding any sales or promos, the least expensive laptop with a dedicated GPU is $600 for an Acer laptop with a quad core i5-8250u CPU and nVidia mx150. Below $600 means you are restricted to integrated graphics. Additionally, the least expensive laptop with a quad core i5-8250u and the integrated Intel UHD 620 will cost $510.
CS:GO, Minecraft and Terraria have pretty low graphics demands so the Intel UHD 620 should be able to play those games. Perhaps not at 1080p with max settings and still have good performance, but using medium settings should generally mean good performance in those games. Fortnite is a different matter. It is not a very demanding game compared to a lot of other games out there, but it is definitely the most demanding of the 4 games listed. The article below can walk you through how to get Fornite to run using Intel UHD 620.
https
/www.laptopmag.com/articles/play-fortnite-intel-hd-graphics
If you want laptop for $500 with a dedicated GPU, then you need to consider older laptops that are either used or refurbished. Additionally, if you want to record footage while playing games then expect to take a performance hit because recording video is CPU intensive.