Simple Chess game written in node