I am having trouble with my chess app

Here is a button based approach, no rules.