Non ergodic: Let there be a car on a major highway in a city. Now cut the roads on the highway in half (say for construction). Congestion results and consequently the cars never again move as fast as before. (equivalent to your house of cards)
def ergodic(f(),x):
return f(avg(x)) == avg(f(x))