Closed rbaltrusch closed 2 years ago
Also see issue #3, which asks for knight unit tests. If an implementation to solve issue #1 contains these tests, both issues may be closed jointly.
Fixed with commit e0eec29, which added the knight move functionality and its unit tests.
The knight currently does not move from his starting position, because his only move, KnightMove does nothing so far.
The implementation must consider that the knight is the only piece that teleports through space (does not get blocked by other units).
Implementation is to be done in the class chess_engine.move.KnightMove and must include unit tests that prove that the knight is able to move correctly and does not move out of bounds, jumps over targets, and can capture properly.