DragonFly On-Line Manual Pages

Search: Section:  


NADARS(1)              DragonFly General Commands Manual             NADARS(1)

NAME

nadars - A server of a network tank battle game N.A.D.A.R.

SYNOPSIS

nadars [ options ]

DESCRIPTION

This is a server of N.A.D.A.R. N.A.D.A.R. is a network tank battle game. You get into a tank, operate it, and destroy other tanks to survive!

OPTIONS

-h, -help Show help messages. -host, -hostname [hostname] This option specifies the hostname of the N.A.D.A.R.'s server. If you don't specify the hostname of the server, Return value from hostname command will be used. If your computer is not connected to a network, you can use localhost as server's hostname. -silent Enter silent mode. The server does not output any messages. -no-silent Enter non-silent mode. The server output any messages. (Default) -port This option specifies the port number of socket. Default port number is 12010. -width [width], -height [height] This option specifies the screen size on peephole mode. If the server run without peephole mode, these options are no effect. Default screen size is 17x17. -map-width [width], -map-height [height] This option specifies the map size. Default map size is 32x32(non-peephole mode) or 40x40(peephole mode). -peep, -peephole Enter peephole game mode. Player can see around his tank only. -no-peep, -no-peephole Enter non-peephole game mode. Player can see the all map. (Default) -backward Tank can go backward. (Default) -no-backward Tank cannot go backward. -interval [milli seconds] Cycle time in playing game. Default cycle time is 100. If cycle time is 0, N.A.D.A.R. server do not wait and run fastest. -timeout [milli seconds] Client timeout in playing game. If you set timeout short, A client with slow network is rejected. But, if you open other window of X on client computer in playing game, N.A.D.A.R. client may be paused and down by timeout. Default timeout is 2000. If timeout is 0, N.A.D.A.R. server do not timeout. -max-players [number] Maximum number of players. -enemy [number] Number of computer players. Default number is 2.

START GAME

1. N.A.D.A.R. is a client-server model program. You should start the server program before playing. Run % nadars on the server computer. If your computer is not connected to a network, use localhost as server's hostname and run % nadars -host localhost 2. Run some client programs as % nadar -s [Server's hostname] -p [Player's name] on the some client computers. 3. If playing speed is very slow, Run clients with size option. % nadar -s [Server's hostname] -p [Player's name] -size 30 4. If you try the peephole mode, run server with peephole option as below. % nadars -peephole 5. If you want to battle against more computers, run server with enemy option as below. % nadars -enemy 5 6. If game speed is too fast, run server with interval option as below. % nadars -interval 150

EXAMPLE

You want to run the server program on "nasu". And you want to play N.A.D.A.R. on "tomato", "ninjin" and "daikon". nasu> nadars tomato> nadar -s ninjin -p Tanaka ninjin> nadar -s ninjin -p Hashimoto daikon> nadar -s ninjin -p Shida

PLAY

N.A.D.A.R. is a client-server model program. Start client programs after a server starts. See nadar(1) about client.

SEE ALSO

X(1), nadar(1)

AUTHOR

Programed by Sakai Hiroaki. E-Mail : hsakai@m8.ffn.ne.jp http://web.ffn.ne.jp/~hsakai/myfreesoft/index.html

SPECIAL THANKS

Tanaka Makoto for drawing some pictures, test on FreeBSD, and many advices. Hashimoto Jun for test on Linux and many advices. Sakai Takeyasu for some advices. Ooue Shigeo for some advices. Miyauchi-Seki Lab.'s people for many advices. Koga Kazuhiro for test on Linux and some advices.

COPYRIGHT

N.A.D.A.R. Copyright (c) 2000-2003 Sakai Hiroaki. All Rights Reserved. N.A.D.A.R. is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License. January 2003 NADARS(1)

Search: Section: