Not sure if intentional but in rules of chess, white moves first. Pretty simple fix just change turn dict to set white to 1.