colonies worked as skilled and unskilled labourers in factories, homes, and shipyards and on fishing and trading ships. During the mid-1600's, the colonies began to pass laws called slave codes. In general, these codes prohibited slaves from owning weapons, receiving an education, meeting one another or moving about without the permission of their masters, and testifying against white people in court. Slaves received harsher punishments for some crimes than white people