Chess moves

I have a BIG problem.I want to make a chess game but i can't made the move system(moving,aviable moves,check,checkmate
)
I tried lot of mode but I can't made it.
Please help with Moving Aviable moves and the "kill" enemy "mans"

I tried lot of mode but I can't made it.
Please help with Moving Aviable moves and the "kill" enemy "mans"