games/bs/bs.c
124
static char hits[2][BWIDTH][BDEPTH], board[2][BWIDTH][BDEPTH];
games/bs/bs.c
299
ss->y = rnd(BDEPTH);
games/bs/bs.c
316
bzero(board, sizeof(char) * BWIDTH * BDEPTH * 2);
games/bs/bs.c
317
bzero(hits, sizeof(char) * BWIDTH * BDEPTH * 2);
games/bs/bs.c
328
for(i=0; i < BDEPTH; ++i)
games/bs/bs.c
344
mvaddstr(PYBASE + BDEPTH, PXBASE - 3,numbers);
games/bs/bs.c
347
for(i=0; i < BDEPTH; ++i)
games/bs/bs.c
364
mvaddstr(CYBASE + BDEPTH,CXBASE - 3,numbers);
games/bs/bs.c
513
mvprintw(CYBASE + BDEPTH+1, CXBASE+11, "(%d, %c)", curx, 'A'+cury);
games/bs/bs.c
518
mvprintw(PYBASE + BDEPTH+1, PXBASE+11, "(%d, %c)", curx, 'A'+cury);
games/bs/bs.c
528
ny = cury+BDEPTH-1; nx = curx;
games/bs/bs.c
552
ny = cury+BDEPTH-1; nx = curx+BWIDTH-1;
games/bs/bs.c
564
ny = cury+BDEPTH-1; nx = curx+1;
games/bs/bs.c
579
mvaddstr(CYBASE + BDEPTH + 1, CXBASE + 11, " ");
games/bs/bs.c
581
mvaddstr(PYBASE + BDEPTH + 1, PXBASE + 11, " ");
games/bs/bs.c
586
cury = ny % BDEPTH;
games/bs/bs.c
61
#define ONBOARD(x, y) (x >= 0 && x < BWIDTH && y >= 0 && y < BDEPTH)
games/bs/bs.c
66
#define SYBASE CYBASE + BDEPTH + 3 /* move key diagram */
games/bs/bs.c
848
int ypossible[BWIDTH * BDEPTH], xpossible[BWIDTH * BDEPTH], nposs;
games/bs/bs.c
849
int ypreferred[BWIDTH * BDEPTH], xpreferred[BWIDTH * BDEPTH], npref;
games/bs/bs.c
858
for (y = 0; y < BDEPTH; y++)
games/bs/bs.c
92
static int cury = (BDEPTH / 2);