Combinatorial Game Theory stuff.