Goal of exercise is to implement all of the chess pieces expect pawns [If you don't know how they move look here -> https://www.wholesalechess.com/pages/new-to-chess/pieces.html]. Please assume orginal chessboard size (8x8).
I would like to see all possible moves of piece I type (with starting position) -> Bishop.new('b2')
should output all of the possible moves for bishop from b2 square. [a1, a3, c1, c3, d4, e5, f6, g7, h8]
.
Important notes:
- Use TDD
- Do not overcomplicate it
- Each piece should be commited in separete commit with good commit description, 'asd' and 'work in progress' is not acceptable.