socket io boat code