Kauffman's NK model generates rugged fitness landscapes using N genes each interacting with K others. With K=0, the landscape is smooth with one global peak. As K increases, epistasis makes the landscape exponentially more rugged, trapping populations on local optima — a hallmark of complex adaptive systems.