chess: implement stub
chess: implement stub: a task in smol-software-harbor (Harbor dataset). knight moves(square) in chess/board.py is a stub. Implement it: return every square a knight standing on square can jump to on an empty 8x8 board, as algebraic names sorted alphabetically ( "a1" gives "b3", "c2" ). Use the…
The task
`knight_moves(square)` in `chess/board.py` is a stub. Implement it: return every square a knight standing on `square` can jump to on an empty 8x8 board, as algebraic names sorted alphabetically (`"a1"` gives `["b3", "c2"]`). Use the existing `square_to_xy` / `xy_to_square` helpers. Run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.