In semiotics, a code is a set of conventions or sub-codes currently in use to communicate meaning. The most common is one's spoken language, but the term can also be used to refer to any narrative form: consider the color scheme of an image (e.g. red for danger), or the rules of a board game (e.g. the military signifiers in chess).