Move turn processing to the Engine class.