Releasing the source code would allow anyone to copy AND modify or extend the game as they see fit. Including all the inner logic that is normally compiled away.
Piracy or a compiled release without DRM (like GOG) only allows you to play the game and maybe modify some parts of it through modding after a significant amount of effort.