I need help moving the pieces in my chess game

can some one figure out how to move the pieces please
Repl link:

code snippet

what is the error that you are facing (red text in the console)? That would help us better understand your intentions and expedite the debug process.

1 Like

there is no error it just won’t let the pieces move and i don’t know where the problem is