| /src/games/snake/ |
| Makefile | 4 SUBDIR= snake snscore
|
| /src/games/snake/snake/ |
| Makefile | 4 PROG= snake 5 SRCS= snake.c 6 MAN= snake.6
|
| snake.c | 1 /* $NetBSD: snake.c,v 1.31 2021/05/12 11:08:31 nia Exp $ */ 40 static char sccsid[] = "@(#)snake.c 8.2 (Berkeley) 1/7/94"; 42 __RCSID("$NetBSD: snake.c,v 1.31 2021/05/12 11:08:31 nia Exp $"); 47 * snake - crt hack game. 50 * without getting eaten by the snake. hjkl work as in vi in place of 54 * cc -O snake.c move.c -o snake -lm -ltermlib 106 static struct point snake[6]; variable in typeref:struct:point 240 snrand(&snake[0]); 243 chase(&snake[i], &snake[i - 1]) [all...] |
| /src/games/snake/snscore/ |
| Makefile | 7 CPPFLAGS+= -I${.CURDIR}/../snake
|
| /src/games/ |
| Makefile | 16 rain random robots rogue sail snake testpat tetris trek \
|
| /src/games/adventure/ |
| subr.c | 527 if (here(snake) && !here(bird)) 651 if (obj == bird && here(snake)) { 655 destroy(snake); 656 prop[snake] = 1; 669 if (place[snake] == plac[snake]) 787 if (here(snake)) 788 obj = obj * 100 + snake; 812 if (place[snake] == plac[snake]) [all...] |
| hdr.h | 138 bird, door, pillow, snake, fissure, tablet, clam, oyster,
|
| init.c | 110 bird, door, pillow, snake, fissure, tablet, clam, oyster, variable 196 snake = vocab(DECR('s', 'n', 'a', 'k', 'e'), 1, 0);
|
| main.c | 595 if (obj == bird || obj == snake || obj == clam
|
| /src/etc/ |
| Makefile | 334 games games 664 /var/games/snake.log \
|