Modelisation of the chess game