This text file explains the IPX workings of the game in detail.

Most wondered questions:

Q: Why is the game laggy?
A: The lag is the game's attempt to keep everyone in the game as in
syncronization as possible. If a real fast computer plays a slow one,
the fast computer will have lots of insignificant pauses as the slow
one catches up. The game itself runs in a loop. One of the pieces of
data transmitted via IPX is how many times that loop has been run
overall. If the other player ran it only 40 times while you ran it
46 or so, then your computer cannot do anything in the game until the
other guy catches up or goes past your "loop counter."

Sometimes the game will freeze altogether. That means you've lost contact
with your opponent, and if he doesn't respond in a few seconds, the game
exits on its own.

Other things that cause annoying pauses include "lost packets" that
somehow just vanish in the barrage of network traffic, slow computers
(less than a 486DX-66), slow connections (9600 or even 14.4K modem),
or garbage that somehow got in the network stream. The size of each
IPX packet sent is really no need for worry because they're only about
600 bytes each anyway...


Q: How can I prevent lag?
A: You really can't do anything about it unless you decide to upgrade
your hardware. The best ways to reduce lag, however, is to play on
a fast connection with a fast computer, and see that your opponent's
CPU speed is as close to yours as possible. T1 or 28.8K/57.6K modems
are suggested, and for performance, maybe a Pentium 66 at least. Make
sure there isn't a lot of stuff going on in the background either,
like FTP transfers, other games, or any other network related application.


Q: What information is being sent over the network?
A: Player angle, response, firing, and incoming ball tables, and
loop counter. That's about all the game really needs to send;
everything else takes care of themselves.


Q: How often is information sent over the network?
A: Constantly.


Q: How do I get started on playing? I want details!
A:

Qualifications:
1) You must have a network card (Ethernet III for example), and a
   T1 or T3 cord (looks like a phone cord but with bigger terminators,
   most likely it wil be a T1) hooked up into a HUD
        OR
   A modem, and an application that lets you do "Dial-Up Networking."
   I.E. Usually an 800 number you call with a special program that
   lets your computer emulate network abilities.

2) If you have these things, you should also be able to "surf the net."
   Use Internet Explorer or Netscape to get a program called Kali or Kahn.
   Set up the program, and join a server.

3) Now that you're on a server, create a DOS window if you're in WIN95
   and run the game. If you're in DOS, just run it.

4) Select 2P - IPX game. If nothing happens, it means the game doesn't
   think you're on a server. I can't help you from there-- you need to
   find network professionals who can help you.

5) You should be in the chat window from there. You will start off in
   socket 0x0100. If you don't know what a socket is, think of it as
   a chat room number or something :). It doesn't matter what socket
   you play in (as long as it's not 0x0100 or 0x0000). Just select
   Change Socket, then type in a number, any number. Be sure to tell
   your opponent this number so he can go there too. There, you can
   just hit F2 and the game will begin.

6) By now, the game should begin. The first player to see the game
   screen may notice it is frozen. It is just waiting for player 2
   to come in and join. If that doesn't happen, the game will exit
   with a timeout error. Initially, there may be considerable lag,
   but it will get better.

   E-Mail me if this doesn't help you...


Q: Will this game interfere with other games on the server?
A: No...at least it never has for me.


Q: Can you put in more than 2 players per game?
A: Yes...but I haven't figured out the details yet. I hope to get 4
in a game...If so, team play would be nice, but the lag wouldn't be.


Q: Will music interfere with playing over the network?
A: Nope. The music is the only thing being done in the game's background.
   If it does create a problem for you, and you're absolutely sure of it,
   then E-Mail me. I thought this was an interesting point myself..


Q: What is debug mode?
A: If you have real problems playing over the network, you might wanna
   know what the heck is going on. Running bb10.exe /d will let you put
   on debug mode. This makes it so all sorts of funny numbers appear during
   network game play. Here's an explanation of each:

   Self: (integer)
        Self is which player number you are. You'd usually think of player
        numbers being 1 and 2; however, self can either be 0 or 1. (That
        means players 1 and 2 to you!)

   Rnd: (integer) (integer)
        This is the "random number seed" of each player. In English, these
        numbers control which balls appear at random and stuff. They should
        look exactly the same on you and your opponent's systems in the
        order that they do. If they don't, you're out of sync, and that
        means it's time to exit the game.

   Angle: (integer) (integer)
        This is the angle of each player. Instead of being in radians or
        degrees, it's measured between 0 and 128, because to make a long
        story short, this makes things fast and efficent on the computer.
        They should also look exactly the same on you and your opponent's
        systems.

   Traffic: (boxes)
        This is the "UV meter" of network traffic. Every green box represents
        a packet of data you sent, and got back. Every white box represents
        a packet of data your opponent sent, and you got back. The meter
        will go crazy because data is being sent so often. It should be
        within 3-5 boxes at most. It may go up to 10, but usually doesn't,
        and if it does, don't panic. Just panic if no boxes appear, or
        only green or only white boxes appear all the time.

   Response: (integer):(integer)
        This tells how long it's been since player 1 got a single packet
        of data from player 2, and then vice versa. It will usually look
        like 0:1 or 1:0 and keep fluxuating over and over until your eyes
        hurt. Sometimes, if the value on either side of the colon goes
        beyond 4 or 5, the computers will pause the game until that number
        goes back to 0.

   Loop: (integer):(integer)
        This tells how many cycles player 1 and 2 have gone through in the
        game. This is the best sync indicator, because if the numbers are
        off by more than 10, there's going to be lag or problems.

   [A1 B1][C1 D1][E1 F1]    
   [A2 B2][C2 D2][E2 F2]

   Grid parameters:

             +---- What player 1 thinks x is
             |
             | +-- What player 1 thinks y is
             | |
   Player #1[x y]
   Player #2[x y]
             | |
             +---- What player 2 thinks x is
               |
               +-- What player 2 thinks y is

   In order for proper game syncronization, the x values for players
   1 and 2 must be the same as often as possible. The same rule applys
   for y.

   A: This is player 1's (John's) firing status, according to each player.
   See, although John the space bar, player 2 (Sally) doesn't know he did
   quite yet. It takes time for Sally to find out that John hit space. When
   Sally knows that John did hit it, the A value for Sally becomes 1.
   Once that happens it should look like this:

        [1 0] (assuming Sally didnt hit the space bar)
        [1 0]

   Once John knows Sally got his keypress, then the ball launches for him
   and Sally. Then the 1 becomes a 2 for each player so it looks like

        [2 0]
        [2 0]

   When the ball stops moving, and all the animation and stuff is done for
   John, then his A value becomes 3, meaning he's done with the shot. Sally
   might not be done yet, maybe her computer is slower and the ball is
   still moving. John has to wait until her A value becomes 3 before he
   can fire again. Once that happens, it will look like

        [3 0]
        [3 0]

   And as soon as that happens, the 3's reset to 0, and John may fire
   again. The same rule applies to the right column (B) of each row for
   when Sally fires.


   C: C is John's angle, and D is Sally's angle. If C1 and C2 are different,
   John won't be able to fire, because him and Sally are not in sync. Same
   rule applies with D1 and D2.


   E: If you get more than 3 balls, the extras get sent over to the other
   player. E is how many balls are about to appear on John's side, and F
   is how many will appear on Sally's side. The thing is, the extras don't
   all appear at the same time. If Sally and John shoot at the same time,
   and John gets rid of 6 balls, he will know it first because his computer
   is faster. Plus, Sally's ball stops on his computer first, so these 3
   extra balls appear on Sally's side on John's computer. Now Sally doesn't
   know that John got rid of 6 balls yet, and if the 3 new ones appeared
   on her system the same time John's did, there would be major problems
   because her ball didn't stop yet!! This grid helps make sure that after
   the new balls appear, the game is still in sync.
   


   You can also check for syncronization by your scores when you're not
   in debug mode.

Q: Will debug mode make the game slower?
A: Yes, insignificantly, but yes.

Q: Will the other player also see this information?
A: Not unless he ran bb10.exe /d.

I leave you with these parting words:
"Theoretically, it should work."
                                -- Anonymous
