Home
last modified time | relevance | path

Searched refs:forcemap (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/games/gomoku/
H A Dpickmove.c54 int forcemap[MAPSZ]; /* map for blocking <1,x> combos */ variable
80 memset(forcemap, 0, sizeof(forcemap)); in pickmove()
133 if (sp->s_combo[!us].c.a == 1 && !BIT_TEST(forcemap, m)) in pickmove()
181 if (BIT_TEST(forcemap, s) && !BIT_TEST(forcemap, s1)) in better()
183 if (!BIT_TEST(forcemap, s) && BIT_TEST(forcemap, s1)) in better()
304 memcpy(forcemap, tmpmap, sizeof(tmpmap)); in scanframes()
307 forcemap[i] &= tmpmap[i]; in scanframes()
1011 memcpy(forcemap, tmpmap, sizeof(tmpmap)); in updatecombo()
1014 forcemap[i] &= tmpmap[i]; in updatecombo()