acmpesuecc / chess_moves_of_knight

Given the position of a knight it calculates all possible next moves of the knight.
MIT License
0 stars 2 forks source link

Utility Functions 1 #3

Closed shreya-panale closed 4 years ago

shreya-panale commented 4 years ago

Implement following functions:

  1. int checkPos(char,int); //To check for valid input. And convert lowercase to uppercase for operations
  2. Position *createPos(char,int); //Initialise position elements
  3. Position givePos(Position ); //Give next knight moves