The following code of conduct is typical for Chess, especially in competitions:
High standards of etiquette and ethics are expected. Players should shake hands before and after the game. Generally a player should not speak during the game, except to offer a draw, resign, or to call attention to an irregularity. An announcement of "check" is commonly made in informal games but is not recommended in officially sanctioned games. A player may not distract or annoy another player by any means, including repeatedly offering a draw.
Players may not use any notes, outside sources of information (including computers), or advice from other people. Analysis on another board is not permitted. Scoresheets are to record objective facts about the game only, such as time on the clock or draw offers. Players may not leave the competition area without permission of the arbiter.