Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



TANKS(6)            UNIX Programmer's Manual             TANKS(6)



NAME
     Tanks! - Distributed tank warfare game, daemon installation

SYNOPSIS
     /usr/games/lib/tanks/tankd.* Welcome to "Tanks!", a multi-
     player, distributed tank warfare game based upon Apollo
     computer's Network Computing System (NCS) mechanism.  This
     game allows user at different nodes to simultaniously
     'drive' tanks around a battlefield, locating and possibly
     destroying your fellow workers with missles.

DESCRIPTION
     Directions for play are found in the tanks man page.

     Requirements:  You should be using nodes with floating point
     hardware, such as a 68881 or FPX, and you must be running
     sr10 or greater.

     Overview:  The software consists of a central 'server' and
     multiple and descides when an object gets blown up.  All
     tanks send velocity information to the server, which then
     calculates the new positions of all objects, and send an
     update to all tanks.  The 'tank' processes handles the
     updating of the players' screen and the user interface
     aspects of the game.

     Server Installation:  The server should run on a node that
     is not usually used for compute-intensive purposes, and
     preferable not on a node that is also running a 'tank'.  A
     DSP3000 or DSP4000 works quite well, and the node should
     always be running the Local Location Broker Daemon (llbd).
     The file /etc/deamons/llbd should be created on the servers'
     node so that the local location broker is started automati-
     cally, and the following lines should be added to the
     /etc/rc.user file on the server node:

          #
          # Run the Tanks! daemon
          #
          if [ -f /usr/games/lib/tanks/tankd.881 ]; then
              (echo " Tanks!\c" >/dev/console)
              /usr/games/lib/tanks/tankd.881 &
          fi
          #
          # Run the purged deamon to get rid of dead tank games
          #
          if [ -f /usr/games/lib/tanks/purged ]; then
              (echo " purged\c" >/dev/console)
              /usr/games/lib/tanks/purged &
          fi





Printed 5/26/88          19 January 1988                        1





TANKS(6)            UNIX Programmer's Manual             TANKS(6)



     Each tank game server running on a network should be given a
     unique name to make it possible to destinguish between the
     different servers.  To do this, Edit the file (on the server
     node) /usr/games/lib/tanks/server.name, and modify the line
     of text that is in this file to give that particular tank
     server its' name.
      .PP Once these tasks are complete, reboot the node, and
     ensure that the above three processes were created.

     Nothing special needs to be done to the nodes that are to
     run 'tanks', the actual tank program.

     Once these steps are complete, you're ready to roll!  Happy
     Hunting!

SEE ALSO
     tanks






































Printed 5/26/88          19 January 1988                        2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026