#include "web_control.h" #include "web_opts.h" #include "web_prompt.h" #include "web_svg.h" #include "comp.h" #include #include #include EMSCRIPTEN_KEEPALIVE void init() { srand(time(NULL)); init_board(); svg_draw_board(); EM_ASM(readOpts()); EM_ASM({updateDelay($0)}, delay_ms); EM_ASM({updateStdev($0)}, horizontal_stdev); set_prompt_mode(PM_VISIT); handle_next(); } int main() { EM_ASM(boatAfloat()); }