RogueFor2

Scott Bowyer, Copyright 2009



Rogue For 2 is a multi-player version of the famous Rogue game from the days of old. At this point, it's not terribly exciting to play, as you just wander around the map. I'm doing this to learn Java networking, rather than trying to replace WoW.

Play is simple. You are the white figure, any teammate is a blue figure, and red figures are enemies. There isn't any combat yet, so you can't really tell it's real time. Click on a square adjacent to your white character to move him around the map. You can send chat messages to your teammates by putting a message in the chat line and then clicking the Send button.


Download RogueFor2

  1. Create a directory to store these files in.
  2. Download Rogue Server - Server for the game
  3. Download Rogue Client - Client for the players
  4. It might be helpful to create shortcuts to both of these files on your desktop.

Run the Game

  1. Run the Server program by double-clicking on it. It won't be obvious it's running, as it just runs quietly in the background on port 4949.

  2. Each player (on the same or other machines) should just double-click on the Client program to come into the lobby.

  3. Enter the IP address or name of the computer that the server is running on. If the client is being run on the same computer as the server, the default entry of "localhost" is sufficient.

  4. The first player should select "New Game", and then the others simply put in the game number that appears and click "Join Game".

Clean up at end

  1. Exiting the Client can be done by simply clicking on the X button on the upper right of the window with no harm.
  2. At this point, the Server needs to be exited by doing Ctrl-Alt-Delete and killing the java.exe or javaw.exe process. I'll need to devise something better in the future.

Other

If you have any problems, just contact me (Scott) at sbowyer@cfl.rr.com. I can distribute the source code upon request.

Return to SWB Home Page