Simulates a trichromatic version of an elementary cellular automaton using Pygame. The key and colors are randomized.