Jashani / Prolect

Chess in Prolog
0 stars 0 forks source link

Translate move to board #10

Closed Jashani closed 3 years ago

Jashani commented 3 years ago

We need to create some function translate(Board, Move, NewBoard), where Board is the current board, Move is the move to be made, and NewBoard is Board after Move has been made. Board and NewBoard must be of format [R8,R7,R6,R5,R4,R3,R2,R1]