what is the name of the person who writes a play
A playwright is a person who writes plays for the stage. Because the name of such a text is drama, another word for this person is dramatist. Sometimes, dramas are written to be read and not played. In that case, they are called closet dramas. The word wright does not come from write.