A little history:
The original game was completed in QB with DSock and DirectQB library back in 2002. It is now ported into FreeBASIC with Winsock! Source code is released for learning the networking code!
Sure, I could have added stuff like AI and offline mode, but Marcade and I originally designed this for learning the networking code back in 2002. With that being mentioned, the FreeBASIC version
was also based on that principle.
http://www.wisdomdude.com/Connect4FBInstaller.exeIt is designed to be a two-player only game, but that's to keep it simple for learning
the networking and gaming code. To play against someone over the internet, one
of the players will need to give their IP address to the other, and the other will
have to type in that IP address and hit ENTER. Once connection has been made,
you're ready to go.
If you like to play two instances of Connect 4 FB on the same machine, do this:
Run two instances of Connect 4 FB.
Initiate the first one with IP address: 127.0.0.1
Initiate the second one with IP address: 127.0.0.1
With the second one open, initiate connection by hitting ENTER on it.
If you're still seeing "connecting...", this might be because you might have initiated the first instance.
Again, be sure to initiate on the second one. Once you're connected, enter nicknames on both of
them and game engine will initiate on both of them.
Once the game engine starts...
You can use the mouse to move the hand and click to drop the pieces.
You can also use the keyboard. CTRL or ALT will drop the piece. Left/Right arrow keys will move the hand.
As for the gameplay, remember Tic-Tac-Toe? Yeah, pretty much the same concept, except you're dealing with a 7 x 6 grid and you have to get 4 in a row.
Connect 4 FB also has a chat feature. Type anything at the bottom, and hit ENTER to send. You can use Up/Down arrow keys to scroll through the chat history.
That is all.