AlphaHost and AlphaClient
by James Hall: L6 Age ~17
Introduction
James explores possibilities for creating a networked game in programs AlphaHost and AlphaClient. Users not only chat but also move their labelled sprite around the background image. (Some of the code is from KoalaInSpace and is more than is necessary for the current functionality of the programs). The music is commented out.
- Use SuperIpChicken (or other methods) to find your IP address.
- Run AlphaHost as host.
- Run AlphaClient on any computer.
- Enter IP address found earlier.
- Move with the arrow keys.
We started the server then added the three clients with users Tom, Dick and Harry on the same computer using the localhost IP (127.0.0.1). The following screenshot shows the programs in action.

Output from program AlphaClient
Transmission is of strings only; James converts the players' coordinates ("cords") to strings. The 4-character codes pcor, pliv, pdis and pmes at the start of strings represent respectively the player's coordinates, connection (becoming live), disconnection and message. James declares his strings as of type string, assigns first a dummy string such as aaaaaaaa to the variable to set the required length, then converts to pchar for transmission. We wonder if he tried using the type pchar throughout.
Follow the links below to see the source code of the two programs.
Download here the source code of both programs and the sound and image folders.
The programs require the same .ttf, .dll and .pas files as KoalasInSpace.