Building a game of chess with C programming(Not c+/c++)

Job ID: 34063372

Budget: $30 – $250 USD

Deadline- Kindly bid if only if you are able to finish off before 9th of July, using strictly C program.

Budget- USD 50.

Build an external library that handles a game of chess. The library must implement the following structures: • Piece. Each piece that goes on the board (type [pawn, king, bishop, ...], color [white, black]) • Chessboard (8x8). An 8x8 table where the rows and columns represent the squares on the board. Each element of the table must contain a pointer to a piece, otherwise null. • Location. Coordinates of a square on the board. They are integers that represent the rows and columns of the chessboard. • Move. A structure that maintains the arrival and departure point of a piece (therefore it has a reference to the type of piece) • Player. A structure that keeps information about the player (type of pieces, name etc.) • Match. A facility that maintains match information. It will refer to a chessboard, to the players, the list of moves made by each player, the list of pieces no longer on the chessboard. It must also include the following features: • Creation / deletion of all data structures defined above. • Inserting a new Move within the Match data structure. The move must only be entered if it is valid. • a checkMove function, which, given a Move, checks whether it is possible to perform it (valid). For example, a horse can only move in a certain way, so the check must provide that the movement is correct, and if it is correct that there is not a piece of the same type on the arrival square. Also in a file external to the library, insert a main function that creates an advanced game between two players where both are left with a few pieces (4 differentiated each) and that simulates the behavior of a game of 3/4 moves where all are used the functions described above. No use of graphics library is essential, the. b hard may be represented as a matrix.