summaryrefslogtreecommitdiff
path: root/web/web_scoreboard.h
blob: 6525654d2be09f4b8e6569fbf3caaf8fb91f15a8 (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
#ifndef WEB_SCOREBOARD_H
#define WEB_SCOREBOARD_H

#include <stdbool.h>

void scoreboard_flush();

void scoreboard_set_player_active(int pn);

void scoreboard_flush_player_info(int pn);
void scoreboard_set_player_avg(int pn, double avg);

void update_player_name(int pn, char *str);
void update_player_sugg(int pn, int rem);
void update_player_avg(int pn, int n_darts);
void update_player_rem(int pn, int rem);

void show_player_info(int pn);
void clear_player_info(int pn);

void draw_visits();

#endif