How to Protect Your Source Code and Game Assets?

Texture assets can’t be protected as far as I know in an easy way, there are programs that allow you to extract images from the graphic card itself so modders do that all the time. So you could make it very hard to get completely but at the same time you can spend the same time to make your game better. But nothing is 100% secure, nothing, the only question is how long can you delay it.