Structured User Story #1 - User establishes connection to server

USE CASE #1

The user initiates a connection to the server.

Preconditions

The server is running some place, with some given IP address (hard coded). Also the user is given this IP address (hard coded).

Success End Condition

The user is connected to the server with a username that they typed in. They can see start a game with anyone who is connected to the server as long as a game has not already been started.

Fail End Condition

The system will still remember the users information if they abort at any time. It will play them as a player and wait for responses from them (even though there will be nobody there to respond). This is an obvious bug and will be fixed by the next iteration.

Trigger

The user runs the client program after the server program is already running (without a game started yet). This triggers a prompt for the users desired 'username' and connnects them to the server with the other players.

Description Server is running in remote location.
User runs client application.
Client application prompts for username and connects to server.
Server stores username and creates a new 'player' to mimick the actions of the user running the client application.
A game is ready to be started/initiated by any user by typing COMMAND:STARTGAME at the message window.