Advertisement
Guest User

chess.h

a guest
Feb 17th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #pragma once
  2.  
  3. #define CHESSBOARD_SIZE 8
  4. #define HORSE_MOVES 8
  5.  
  6.  
  7. typedef struct tagPoint
  8. {
  9.     int x;
  10.     int y;
  11. }point;
  12.  
  13. int move( int** chess_board, int dim, int i_move, int x, int y, int* px, int* py , point* offset );
  14. int root( int** chess_board, int dim, int nr_move, int x, int y, point* offset );
  15. int** createChessBoard(int dim);
  16. void freeChessBoard( int*** tab);
  17. void printChessBoard( int** tab,int dim );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement