Reformatted after learning move generation.