I can't copy the code because it Doesn't have a license. Btw where did you get the chess pieces from.