Suresh-Subedi / Exercises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KnightPositions

Write a function that takes the current position of a knight on a chessboard, and returns a preliminary list of possible moves the knight could make. (That is, the current positions of other pieces are not provided, so you can’t check against capturing pieces on the knight’s own side nor making their king vulnerable to capture.)

About


Languages

Language:C# 100.0%