rbaltrusch / chess_ng

Full chess engine including chess AI
MIT License
2 stars 2 forks source link

Split LineMove class #18

Open rbaltrusch opened 2 years ago

rbaltrusch commented 2 years ago

The LineMove class should be split into HorizontalMove and VerticalMove classes, as it currently contains too much code, with low cohesion. Additionally, this simplification should allow the removal of the RookMove class, as it is currently just a simple wrapper around the LineMove class.