games/bs/bs.c
1180
for (y = 0; y < BDEPTH; y++)
games/bs/bs.c
1202
x = BWIDTH; y = BDEPTH; /* end the loop */
games/bs/bs.c
129
#define ONBOARD(x, y) (x >= 0 && x < BWIDTH && y >= 0 && y < BDEPTH)
games/bs/bs.c
134
#define SYBASE CYBASE + BDEPTH + 3 /* move key diagram */
games/bs/bs.c
167
static int cury = (BDEPTH / 2);
games/bs/bs.c
208
static char hits[2][BWIDTH][BDEPTH], board[2][BWIDTH][BDEPTH];
games/bs/bs.c
372
ss->y = rnd(BDEPTH - (ss->dir == S ? ss->length : 0));
games/bs/bs.c
395
memset(board, 0, sizeof(char) * BWIDTH * BDEPTH * 2);
games/bs/bs.c
396
memset(hits, 0, sizeof(char) * BWIDTH * BDEPTH * 2);
games/bs/bs.c
415
for(i=0; i < BDEPTH; ++i)
games/bs/bs.c
427
(void) mvaddstr(PYBASE + BDEPTH, PXBASE - 3,numbers);
games/bs/bs.c
430
for(i=0; i < BDEPTH; ++i)
games/bs/bs.c
443
(void) mvaddstr(CYBASE + BDEPTH,CXBASE - 3,numbers);
games/bs/bs.c
592
(void) mvprintw(CYBASE + BDEPTH+1, CXBASE+11, "(%d, %c)", curx, 'A'+cury);
games/bs/bs.c
597
(void) mvprintw(PYBASE + BDEPTH+1, PXBASE+11, "(%d, %c)", curx, 'A'+cury);
games/bs/bs.c
605
ny = cury+BDEPTH-1; nx = curx;
games/bs/bs.c
621
ny = cury+BDEPTH-1; nx = curx+BWIDTH-1;
games/bs/bs.c
629
ny = cury+BDEPTH-1; nx = curx+1;
games/bs/bs.c
646
&& myevent.y >= CY(0) && myevent.y < CY(BDEPTH)
games/bs/bs.c
662
(void) mvaddstr(CYBASE + BDEPTH + 1, CXBASE + 11, " ");
games/bs/bs.c
664
(void) mvaddstr(PYBASE + BDEPTH + 1, PXBASE + 11, " ");
games/bs/bs.c
669
cury = ny % BDEPTH;
games/bs/bs.c
959
int ypossible[BWIDTH * BDEPTH], xpossible[BWIDTH * BDEPTH], nposs;
games/bs/bs.c
968
for (y = 0; y < BDEPTH; y++)