Cognitively they were learning basic math concepts, counting sequentially, and planning.
Physically they were exercising fine motor muscles.
Socially & Emotionally they were cooperating with others, making choices, learning to take turns, and learning to win/lose gracefully.