
The Game of Forty-Fives, Vesrion 1.1 for Windows 95+,  Copyright 2001 BMC WebDesign.
---------------------------------------------------------------------


	Thank you for Downloading our Forty-Fives Software. The following is a guide
for setting up your game.

-NOTE: You will need a JRE (Java Runtime Environment) Version 1.2.2 or later to run this game.
You can obtain a copy of JRE 1.2.2 or later at the sun website (approx. 20 MB):
http://java.sun.com/j2se/1.2/download.html

OR you can download a copy of JRE 1.2.2 here: http://www.angelfire.com/ma4/bmcwebdesign6/fortyfivesgame.html

This game is best viewed on a 13"+ screen. A 17"+ screen is recommended.
----------------------------------------------------------------------------------

1) What this game is:

This is a peer-to-peer gaming system for the card game Forty-Fives.
It provides access for 4 computers in the same network, or accross the internet to be
connected in order to play as team-mates in the game.
At least 1 computer must NOT be behind a firewall or proxy server, or have DHCP.

2) What this game is not: 

This game is not a 1, 2, 3, or 5+ player game. It is a four player game, which requires
4 people on 4 computers to play. You cannot play against or with a computer player.

3) Setup:

Included in this zip file is a jar file and 3 bat files.
Off of your hard drive (usually C: drive) create a new folder called Program Files, 
unless a Program Files folder already exists (From the top menu in Windows Explorer, choose
File, New, Folder). Under the Program Files folder create a new Folder: FortyFives (no spaces).
Copy or Move all the files here.
Double click on the INSTALL.bat file to extract the files.
Now edit your 2 bat files (right click on the file, choose Edit).
They should look something like this:
C:\jre1.2.2\bin\java.exe -classpath "C:\Program Files\FortyFives" FortyFivesServer
or
C:\jre1.2.2\bin\java.exe -classpath "C:\Program Files\FortyFives" FortyFivesClient
If you have an existing jre, change the path to the java.exe file to reflect the true path.
Otherwise, if you downloaded the JRE 1.2.2 and installed it to the directory JRE1.2.2, leave it alone.
Close the files.

4) Play:

To play the game, There must be at least 1 computer NOT be behind a firewall or proxy server, 
or that has DHCP. This is because the other 3 computers will need to connect to your computer
and they must know your IP address. An IP address is an address that points to your computer
out of the entire network of computers worldwide. If you don't know what your IP address is,
open an MS-DOS shell window (Usually under Start Menu, Program Files; or if there is no 
icon, just go to Start Menu, Run, and type "cmd" (without quotes) and click ok).
Type "ipconfig" (without quotes) and press enter. Note your IP address.
Send this address to your 3 friends who are playing (via email, IM, phone, etc).
The person who has chosen to give out his IP address is the "server". This doesn't mean 
anything other than the fact that the other 3 computers will connect to you.
Now run the FortyFivesServer.bat file by double clicking on it. Depending on your computer's
operating system, one or more boxes will pop up. Eventually, a blue box will pop up asking
for the names of the 4 players. You are the first. The next 3 are clients 1-3. You now need to
write down each player and which client they are. Click the button to run the server.
Now your game board is set up and ready to receive clients. Tell your friends which client
they are going to be so they can connect. Each client must connect via a "port" on your 
computer (the server's computer). The port each one selects must be different from the other 2
and it must be greater than 1024 (because all ports below 1024 are pre-assigned on a computer)
and it must also end in the number client they are. For example, client 1 may use port 1031,
5001, or 1111, but not 1011, 11, 5002, or 6003, etc. If you (the client)are not behind 
a firewall, leave the space that asks for firewall info blank, or "NA". If you would like to 
connect from behind a firewall, you must give access through it. Give the firewall/proxy
name, then an equal sign (=), then the port to connect to (no spaces). 
For example:   gatekeeper.somecompany.org=80     will connect through the firewall on port 80.
As each one connects to the server, The server will see messages indicating the progress. 
When everyone has connected, the client game screens will reflect the teams and the game 
will start (The server is player 4 and is on player 2's team; Player 1 and 3 are 
on the other team). 

Read the Help Menu in the game for assistance on how to play.
Questions/Comments/TroubleShooting contact us: bmcwebdesign@hotmail.com

------------------------------------------------------------
Technical Notes:

JDK 1.3.1 / JRE 1.3 used for compilation. Windows 2000 Professional used with 17" monitor.
900 mHZ pentium III with 128 MB RAM, 20 GB HD; Dell Optiplex GX110.

Original Concept Date   : 9/12/01
First Release (v1-alpha): 4/26/02
Second Release (v1-beta): 5/17/02
Final Release (ver 1.1) : 9/04/02   
      
version 1.2 to come.
---------------------------------
Lines of code:
FortyFivesServer SuperClass: 5481
FortyFivesClient SuperClass: 1978

Total lines of code:         7459


 Copyright 2001 BMC WebDesign. All Rights Reserved.