Wow...same price? this is hard to choose...
For gaming, I would choose 2600x since it is faster on the single core speed, comes with a cooler and has lower latency.
For a mix bag usage including content creation, 1700x has 2 more cores (4 threads), which could be more useful.
If you ask me, which one would I choose for me, I would pick 2600x+X470 over 1700x. The newer tech has quite a lot of improvements e.g. better RAM compatibility , incl those you can not see directly and it comes already with a decent cooler.