refactor queen and black moves