Home
last modified time | relevance | path

Searched refs:game (Results 1 – 25 of 154) sorted by relevance

1234567

/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dadventure4 # adventure: file(1) magic for Adventure game files
13 0 beshort 0x0206 ALAN game data
54 0 string Glul Glulx game data
70 >9 belong !0x0A0D1A00 game data, CORRUPTED
72 >>13 string >\0 %s game data
80 # Some saved game files start with "TADS2 save/g\n\r\032\0", a little-endian
81 # 2-byte length N, the N-char name of the game file *without* a NUL (darn!),
84 >12 belong !0x0A0D1A00 saved game data, CORRUPTED
86 >>(16.s+32) string >\0 %s saved game data
88 # Other saved game files start with "TADS2 save\n\r\032\0" and the interpreter
[all …]
H A Dgames212 0 string Warcraft\ III\ recorded\ game %s
225 # Modified by (1): Abel Cheung (regex, more game format)
226 # FIXME: Some games don't have GM (game type)
271 # NetImmerse/Gamebryo game engine entries
273 # Summary: Gamebryo game engine file
276 0 string Gamebryo\ File\ Format,\ Version\ Gamebryo game engine file
279 # Summary: Gamebryo game engine file
282 0 string ;Gamebryo\ KFM\ File\ Version\ Gamebryo game engine animation File
285 # Summary: NetImmerse game engine file
289 >&0 string n\ NetImmerse game engine file
[all …]
/netbsd-src/games/gomoku/
H A Dmain.c82 struct game game; variable
118 for (unsigned int m = 0; m < game.nmoves; m++) in save_game()
119 fprintf(fp, "%s\n", stoc(game.moves[m])); in save_game()
313 game.nmoves + 1, color == BLACK ? 2 : 9, "", in main_game_loop()
507 if (game.nmoves > 0) { in whatsup()
508 game.nmoves--; in whatsup()
509 board[game.moves[game.nmoves]].s_occ = EMPTY; in whatsup()
519 board[game.moves[game.nmoves]].s_occ = in whatsup()
520 game.nmoves % 2 == 0 ? BLACK : WHITE; in whatsup()
521 game.nmoves++; in whatsup()
[all …]
H A Dbdisp.c155 if (game.nmoves > 0 && game.moves[game.nmoves - 1] == s) in should_highlight()
157 if (game.win_spot != 0) in should_highlight()
159 if (s == game.win_spot + off * dd[game.win_dir]) in should_highlight()
357 int x = game.user_x, y = game.user_y; in get_coord()
458 game.user_x = x; in get_coord()
459 game.user_y = y; in get_coord()
H A Dgomoku.h250 struct game { struct
268 extern struct game game; argument
H A Dbdinit.c128 game.nmoves = 0; in init_board()
129 game.win_spot = 0; in init_board()
130 game.user_x = 1 + (BSZ - 1) / 2; in init_board()
131 game.user_y = 1 + (BSZ - 1) / 2; in init_board()
H A Dmakemove.c113 game.moves[game.nmoves++] = mv; in makemove()
157 game.win_spot = (spot_index)(fsp - board); in makemove()
158 game.win_dir = r; in makemove()
/netbsd-src/games/canfield/canfield/
H A Dcanfield.c187 static struct betinfo this, game, total; variable
670 game.wins += valuepercardup; in fndbase()
735 game.hand += costofhand; in startgame()
738 this.game = 0; in startgame()
892 game.runs += costofrunthroughhand; in movetotalon()
932 game.information += costofinformation; in movetotalon()
978 game.information += costofinformation; in showstat()
990 game.information += costofinformation; in showstat()
1030 game.information += costofinformation; in usedtalon()
1122 game.thinktime += dollars; in updatebettinginfo()
[all …]
/netbsd-src/games/hunt/
H A DREADME.protocol11 The game of hunt is played with one server and several clients. The clients
16 The game server (huntd) listens on three different network ports which
21 P game play TCP port
32 game such as the port numbers of the other two ports (S and P),
33 and to find out how many players are still in the game.
44 disambiguate which game is which.
53 A client requests the game play port P with the C_PLAYER message.
57 S: {uint16: P (TCP port number for the game play port)}
59 The TCP address of the game play port should be formed from the
65 A client can request the game play port P with the C_MONITOR message.
[all …]
/netbsd-src/games/sail/
H A Dpl_main.c62 if (game < 0 || game >= NSCENE) { in pl_main_init()
65 cc = &scene[game]; in pl_main_init()
106 if (game < 0 || game >= NSCENE) { in initialize()
H A Ddr_main.c70 if (game < 0 || game >= NSCENE) { in dr_main()
71 errx(1, "\ndriver: Bad game number %d", game); in dr_main()
73 cc = &scene[game]; in dr_main()
/netbsd-src/games/dm/
H A Ddm.c66 static char *game, /* requested game */ variable
89 game = (cp = strrchr(*argv, '/')) ? ++cp : *argv; in main()
91 if (!strcmp(game, "dm")) in main()
115 snprintf(pbuf, sizeof(pbuf), "%s%s", _PATH_HIDE, game); in play()
220 if (strcmp(game, s_game) && strcasecmp("default", s_game)) in c_game()
323 fprintf(lp, "\t%s\t%s\t%s", game, gametty, ctime(&now)); in logfile()
/netbsd-src/games/phantasia/
H A DREADME7 all reported bug fixes, enhance the game, and speed up the game.
9 I have to thank Chris Robertson for many ideas which have made the game
13 with the spirit of the game. (For example, I didn't like the extra lives
14 and the pausing of the game. I think it's too easy even WITHOUT that stuff.)
22 - A few loopholes have been tightened to make the game more enjoyable.
66 get the game running. Again, I need to know which version of UN*X
75 Follow the directions in the Makefile CAREFULLY to set up the game.
H A DCOPYRIGHT10 * This game is distributed for free as is. It is not guaranteed to work
14 * This game is distributed without notice of copyright, therefore it
17 * game, in its original form, or any derivitives thereof.
25 * AT&T is in no way connected with this game.
/netbsd-src/games/rogue/
H A DCHANGES20 'askquit' is added to prevent ^\ from terminating the game accidentally.
22 found in the ROGUEOPTS string, the ^\ kills the game, otherwise,
36 game-stopping, or game-winning bugs should be present.
49 "askquit" is used to prevent accidental termination of the game via ^\
52 The save/restore game function is faster and machine-independent, but sometimes
/netbsd-src/games/boggle/boggle/
H A Dhelpfile8 Pause game: <^s>
9 Resume game: <^q> or <^s>
10 Suspend game (BSD only): <^z>
14 Exit game: <^c>
45 game's dictionary. The (N+1)th cube in the word must be horizontally,
51 Command line flags can be given to change the rules of the game.
55 '-t#', where # is the duration (in seconds) of each game.
/netbsd-src/games/fish/
H A Dfish.instr1 This is the traditional children's card game "Go Fish". We each get seven
3 object of the game is to collect "books", or all of the cards of a single
22 makes my game much smarter, and the line "quit" stops the game. Just
26 Normally, the game stops when one of us runs out of cards, and the winner
/netbsd-src/games/atc/
H A Dlog.c189 score[num_scores].game, in log_score()
215 (void)strlcpy(thisscore.game, cp, SCORE_GAME_LEN); in log_score()
224 strcmp(thisscore.game, score[i].game) == 0) { in log_score()
268 score[i].game, score[i].planes, in log_score()
307 score[i].name, score[i].host, score[i].game, in log_score()
/netbsd-src/games/cribbage/
H A Dcribbage.n7 Probably it is an elaboration of an older game, Noddy. The original game
8 was played with hands of five cards; the modern game gives each player
29 game holes. The board is placed between the two players, and each keeps
31 with two pegs. Before the first hand, the pegs are placed in the game
33 appropriate number of holes (one per point) away from the game end of the
39 The traditional mode of scoring is down (away from the game end)
40 the outer row, and up the inner row. "Once around" is a game of 61 points.
41 "Twice around" is a game of 121 points.
179 The usual game is 121, but it may be set at 61 by agreement.
180 Since the player wins who first returns to the game hole by going "twice
[all …]
/netbsd-src/games/larn/
H A DREADME3 Larn is a dungeon type game program. Larn is a adventure/action game similar
24 data.c data definitions for the game -- no code here
30 help.c code for the help screens in the game of larn
43 regen.c code to regenerate the player and advance game time
51 To find out how to play the game, run it and type in a '?' to get the help
55 awareness, and one of every object in the game. They help the author to debug
56 the game.
80 Install: Notes on the game LARN installation.
H A DFixed.Bugs17 the loss of a good game due to a game malfunction. Also, the name of the
68 the game used the userid to order the scoreboard, thus only one scoreboard
71 However, if this define is omitted, the game will create and manage a
103 would be an infinite loop and the game would hang. The case of nap(0)
113 in the makefile, the game will be compiled to use only VT100 compatible
114 terminals (Much more efficient). If the symbol VT100 is omitted, the game
118 Only 3 termcap entries need be found for the game to be functional:
152 any scroll or potion types that are not in the game.
173 31. When a player wins a game, if getlogin() fails, a segmentation fault will
191 scoreboard. If you then save the game, and start 'er up again, memory
[all …]
/netbsd-src/games/larn/datfiles/
H A Dlarn.help1 5 Welcome to the game of Larn. At this moment, you face a great problem.
35 d drop an item i inventory your pockets Q quit the game
36 v print program version S save the game D list all items found
39 larn ++ restore checkpointed game
42 larn -n suppress welcome message when beginning a game
44 larn -<number> specify difficulty of the game (may be used with -n)
55 the game has been compiled with "VT100" defined in the Makefile. If compiled
72 Welcome to the game of Larn. At this moment, you face a great problem.
126 then his game at diff 1 and a score of 4112 would replace his previous
/netbsd-src/games/warp/
H A Dwarp.doc1 Warp is a real-time space war game. This means that the enemies will keep
6 The game starts at difficulty 1, and gets more difficult with each
9 slowly, but games count only a tenth as much.) The game starts with
11 The game is over when you run out of Enterprises and Bases.
13 The object of the game is to get as many points as possible. This is done
18 wave, but you will be penalized for it. The game may be saved between waves.
20 A -x switch causes any saved game to be ignored, and causes the new game
22 invalidating a currently saved game.
24 The game is played in a 23 x 40 double wrap-around universe. Everybody
83 ^Z suspend the game (on a bsd system)
[all …]
/netbsd-src/games/hack/
H A DREAD_ME3 Hack is a display oriented dungeons & dragons - like game.
5 (For a game with the same structure but entirely different display -
19 hack The actual game
30 (Some of these contain information on the game,
65 play only; all the program play does is asking for the name of a game,
67 and then executing the game. Thus:
/netbsd-src/games/boggle/
H A DREADME3 Bog is a fairly portable simulation of Parker Brother's game of Boggle and
18 bog.man - half-hearted man page (use the game's help command)
20 bog.c - machine independent game code
33 My plan was to make it straightforward to adapt the game to run under a

1234567