reformat to JaneStreet coding convention
factor out the No_multiplayer boilerplate into lib