summaryrefslogtreecommitdiff
path: root/docs/DesignDocument.md
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 13:03:11 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 13:03:11 -0500
commitc7d02564ee1354bf05dc75aa21700557d3b0be4f (patch)
tree8652974859b86d81ba8945f1de4aefa1ebbf8727 /docs/DesignDocument.md
parent6390b4350a0a69fa35f569db172d0de5ee6df1b2 (diff)
parent59cdfc8b345f347c049e62d76d2129018854dad2 (diff)
Merge branch 'master' into fix2
Diffstat (limited to 'docs/DesignDocument.md')
-rw-r--r--docs/DesignDocument.md46
1 files changed, 36 insertions, 10 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index 2fb57c0..9613657 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -6,28 +6,54 @@ Version 1.0 – 2014.02.10
Created 2014.02.09
1 Purpose
-This document describes all components of the Leaguer Tournament management system. Leaguer is a software to be installed and run on a server. TODO. ANDREW COMPLETE THIS.
+
+The purpose of this document is to outlay the desgin, intent, and structure of
+the Project Leaguer tournament organizing software.
+
+Released under an open license, Project Leaguer leverages powerful web
+technologies to provide everything needed to organize an online tournament.
+Whether it's League of Legends, Chess, Poker, or more, Project Leaguer provides
+tournament organizers, participants, and spectators with an online
+interface to keep up with the score. Even better Project Leaguer offers scoring
+features and options which would be very difficult to implement with traditional
+tournament organizing practices such as peer review and team-independent
+individual scoring.
+
+The software itself operates as a stand-alone background server application
+accessible and configurable though its web interface which reveals to users a
+sleek web application which manages tournaments.
2 Non-Functional Requirements
TODO Guntas. Email dunsmore and marco about this, then fill it out.
3 Design Outlines
+
3.1 Design Decisions and Components
-Our system will on the Model 2 design pattern/architecture. TODO: Davis – add the purpose of EACH component as a list.
+
+Our system will on the Model 2 design pattern/architecture.
+
Controllers – The controllers will control any logic necessary to obtain the correct content for display. It then places the content in the request and decides which view it will be passed to.
-Models – The classes in the UML document below will reside in the model…
+
+Models – We will be using a Ruby on Rails model. The Ruby on Rails framework maps to a table in the database and a Ruby file. So a User will usually be difined as user.rb in the app/models directory and this will be linked to the table users in the database.
+
Views – Views will be the HTML pages for Leaguer, and will display the users desired content inside of the web browser.
+
Component Interaction
Controllers will be used to run all of the background work of Leaguer. They will fetch the necessary data and will tell the view what to do. We will be implementing seven controllers into Leaguer. Those will be:
- I. PM & Alerts – This controller will be used for sending and receiving private messages to and from the host. Players will be able to message the host in order to inform him/her of anything during the tournament. This will also allow the host to post any notifications he or she desires that will be displayed for all to see.
- II. Homepage – Used to handle the homepage. This will be the first web page seen by any user of the application.
- III. Login – This controller will be used when a user attempts to sign in to their profile on Leaguer.
- IV. Search – This controller will be used to search the web-base for on going tournaments, players and past tournaments.
- V. Tournament – Used for setting up a tournament. This will be restricted to the host of the tournament.
+
+ I. PM & Alerts – This controller will be used for sending and receiving private messages to and from the host. Players will be able to message the host in order to inform him/her of anything during the tournament. This will also allow the host to post any notifications he or she desires that will be displayed for all to see.
+ II. Homepage – Used to handle the homepage. This will be the first web page seen by any user of the application.
+ III. Login – This controller will be used when a user attempts to sign in to their profile on Leaguer.
+ IV. Search – This controller will be used to search the web-base for on going tournaments, players and past tournaments.
+ V. Tournament – Used for setting up a tournament. This will be restricted to the host of the tournament.
VI. User – The controller that will take each user to their own profile.
- VII. Match/Peer Review – used for gather game statistics and the separate player reviews.
-Each of these controllers will fetch the data specified by its separate section. The view will then be used to display all of this information, so Login will take the user to a login page, search will take the user to a search page and so on.
+ VII. Match/Peer Review – used for gather game statistics and the separate player reviews.
+
+Each of these controllers will fetch the data specified by its separate section. The view will then be used to display all of this information, so Login will take the user to a login page, search will take the user to a search page and so on.
+
+The Model will be the data section that will map all of the information to their proper locations in the data base.
+
Design Issues
Scoring Algorithm