Searched defs:worm_data (Results 1 – 2 of 2) sorted by relevance
820 struct worm_data { struct821 int color; /* its color */822 int size; /* its cardinality */823 float effective_size; /* stones and surrounding spaces */824 int origin; /* the origin of the string. Two vertices are in */826 int liberties; /* number of liberties */827 int liberties2; /* number of second order liberties */829 int liberties4; /* fourth order liberties */832 int cutstone; /* 1=potential cutting stone; 2=cutting stone */833 int cutstone2; /* Number of potential cuts involving the worm. */[all …]
2317 struct worm_data { struct2319 struct game_obj_t *parent; /* next worm segment up towards the head */2320 struct game_obj_t *child; /* next worm segment back towards the tail */2321 int x[NWORM_TIME_UNITS]; /* list of this segments position for the last */2322 int y[NWORM_TIME_UNITS]; /* few time units... x[i], y[i] is current pos */2323 int i; /* current index into x,y arrays */2324 int tx, ty; /* short term destination x,y */2325 int ltx, lty; /* long term destination x,y */2326 int coloroffset;