Skip to content

Instantly share code, notes, and snippets.

@blendaguedes-zz
Last active July 18, 2017 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blendaguedes-zz/802598752e2ff9d962eee395380b6074 to your computer and use it in GitHub Desktop.
Save blendaguedes-zz/802598752e2ff9d962eee395380b6074 to your computer and use it in GitHub Desktop.
This repository describe the architecture, classes/modules and design decisions of Quake 3 Report.

Quake 3 Server

This repository describe the architecture, classes/modules and design decisions of Quake 3 Report.

System Description

The system is about the game Quake 3. The systema will be able to get the system log and plot information to the admin. The system should be able to read a text file containing the games log of a Quake 3 server. The log aggregates information about kills, deaths, suicides and player names ordered by time.

UC01 {game summary}

Actor: Server admin

Flow of events:

  1. As a Quake 3 server admin I'd like to feed a command line app with my server log and obtain a summary of all games present in the log file.
  2. The command line application should output a summary with the following informations (for each game match):
  • player names
  • total number of kills
  • total kills by players

Precondition:

  1. A game would have to have happened.
  2. The actor should enter with the command line.

Postcondition:

  1. The actor must to have the summary information.

UC02 {command line ranking}

Actor: Server admin

Flow of events:

  1. Feed a command line application with my server log.
  2. Obtain a ranking of all players ordered by the number of kills of each player.
  3. The command line application should print the list of players with their kills.

Precondition:

Insert the command line.

Postcondition:

The list of player with the kills should be print.

UC03 {web ranking}

Actor: Server admin

Flow of events: 1.Generate a web page with an user friendly output of command line rank command.

Precondition:

Acess the web page.

Postcondition:

Print the line rank command.

System Architecture

The system's architecture will be separated in just three parts, since the data of the system is taken from the game log. These parts are: domain, business and view.

Domain will be the system's class.

Business will be the classes who will process the information and give the answer to the users of the system.

View will be the graphic part of the system that will interact with the user

@blendaguedes-zz
Copy link
Author

untitled diagram 1

@blendaguedes-zz
Copy link
Author

v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment