Click the pieces, then click where you want them to go. Press 0 to de-select a piece. You cannot take your own pieces, you cannot allow your own king to be taken, you cannot undo a move, and white goes first.
The third iteration of me making chess in Scratch. This time, it works on a tile grid, the pieces and squares are aligned properly, and most illegal moves are no longer possible.