John Dewey had some interesting ideas about thinking. After you have played the ancient game of NIM, you may see some connections between Dewey's philosophies of education and the "Secret of NIM".