They take two packs of niggers color code the costumes (tights) and number them so the viewer can pick his favorite, the niggers then proceed to have 15 second attempts at capturing an artificial watermelon, on an artificial field. If one color does good they all start patting each other’s ass and hugging. Then they go into the locker room and interview the sweaty apes as they walk out of the shower. Po mo gub, bidda be dat tum, mutafugin bix nood.
https://en.wikipedia.org/wiki/Hays_Code#Be_Carefuls
There were some things you simply could not discuss or show, and other things that the studios needed to exercise morality and good taste when depicted. There was also a rule that good would always win over evil, that "crime must pay".
It wasn't until the late 60s when the "studio system" began to collapse that they slowly began making movies that intentionally violated the Hays Code. By the 1970s, it was all but forgotten and replaced by the MPAA ratings, and we see how effective that's been.
The Hays Code was enforced because the studios had Code representatives working at the studios who had veto power during the production of movies and could insist on changes to prevent Code violations. These days, the movie will be made and shown to the MPAA, who will then rate the movie to determine who can watch it.
It was during the 70s that such abominable ideas as the "antihero" began to be used in movies. Out of this came such characters seen in "Midnight Cowboy", "The French Connection", "Billy Jack", and other worthless films.