Simple avoidance and collection game in C.