summaryrefslogtreecommitdiff
path: root/web/web_main.c
blob: 76ef3825ebc6271506aba35b135fa1b2ff171470 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "web_control.h"
#include "web_opts.h"
#include "web_svg.h"

#include "comp.h"

#include <stdlib.h>
#include <time.h>

#include <emscripten/emscripten.h>

EMSCRIPTEN_KEEPALIVE
void init()
{
	srand(time(NULL));
	init_board();
	svg_init();
	opts_init();

	handle_next();
}

int main()
{
	EM_ASM(boatAfloat());
}