Knight

I’m trying to make a chess game and need the code for the knight movement? I am asking for help

Maybe browsing an open-source project could help?