Caro game with nodejs