#ifndef MATCH_H #define MATCH_H #include "board.h" struct visit { int points; int rem; int n_darts; struct segment *darts; struct ccoords *ccoords; }; struct leg { char *name; int start; int rem; int n_visits, size_visits; struct visit *visits; }; struct leg *leg_init(int points, char *name); void leg_free(struct leg *l); void leg_grow_visits(struct leg *l); #endif