summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 16:01:46 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-10 16:01:46 -0500
commit8e8879d0ccd5ce1de0fd26daab69da2e15e3bb68 (patch)
tree9f4d5ca51b4a4f6285d4a472c847610b15897b87
parent4516081d2d508aa4406eef35e9faae5f948a2317 (diff)
DesignDocument.md: resolve merge conflict
-rw-r--r--docs/DesignDocument.md47
1 files changed, 7 insertions, 40 deletions
diff --git a/docs/DesignDocument.md b/docs/DesignDocument.md
index 0af99ab..3580d7d 100644
--- a/docs/DesignDocument.md
+++ b/docs/DesignDocument.md
@@ -74,24 +74,26 @@ Each of these controllers will fetch the data specified by its separate section.
The Model will be the data section that will map all of the information to their proper locations in the data base.
-<<<<<<< HEAD
-**4: Design Issues**
+# Design Issues
-**4.1 Scoring Algorithm**
+## Scoring Algorithm
+
In an effort to keep our system broad, one of our requirements is that Leaguer is adaptable to many competitions, not just League of Legends. How do we assure that the different scoring systems of different sports are represented in Leaguer?
Option 1: One of our interfaces could be “Scoring System” which will be implemented by many classes with common scoring systems. For example there would be a implementing class in which the highest score wins, and one in which the lowest score wins. This is likely to be the winning option, as there are not too many obscure scoring systems that we could not think of.
Option 2: We could design an API in which the host writes a method to update the scoring. This is pretty complex, and while it would allow more customization, it is hard to imagine completing this task without first completing option 1.
-**4.2 Offline Data Management**
+## Offline Data Management
+
Leaguer manages players and games within tournaments, but it also stores statistics about the games and players themselves. We need a system to store this information after the server-host shuts down the server.
Option 1: Perhaps the simplest and most intuitive option is to implement a database dump system. The server would dump the information into an SQL format. All game and player data would be stored to the host and could be restored to a new server. The host would be responsible for preserving the data. Additional security measures could be implemented to help protect data. This option leaves the users with great control over the data.
Option 2: We could host Leaguer ourselves with our own server. All users would connect to it instead of to a user-hosted server. Game and player information would be stored and maintained on Leaguer's server and the users would not need to manage data themselves, but instead we would have to host the service.
-**4.3 Fetching Data from Games**
+## Fetching Data from Games
+
Obtaining the statistics from the end of game or match is a vital step in Leaguer's function. A quick and easy method for obtaining this information will ensure smooth usability.
Option 1: In the case of online multiplayer games, such as League of Legends, it may be possible to obtain the information directly from the game-hosted server or even websites that already do so. In the case of League of Legends, lolking.net and lolnexus.com already grab statistics from the server automatically. There are also some open source projects, such as data-hut on github, that could be used to help extract and categorize the data itself. This option is complex, but also highly desirable for compatible games, as it ensures a fast and simple enviornment for our users.
@@ -100,41 +102,6 @@ Option 2: Uers manually enter the data themselves. Different games would require
Option 3: Use Optical Character Recognition to obtain statistics from score screen screenshots. This option would require someone to take a screenshot in each match and submit it to Leaguer. This would require more work than Option 1, but much less than Option 2. An OCR plugin would have to be implemented for each game and thus support would be limited from game to game. Outside contributors could help widen the number of games with OCR support.
-5 Design Details
-5.1 Class Descriptions and Interactions
-
-VIEWS
-Webpage: An abstract HTML file, all entries below are webpages (we represent them as subclasses of the abstract “Webpage” class. All webpages will send HTTP requests to the server. Most of the visual effects and update the display with Javascript methods. Each page will have a login dialogue which will POST to the login controller or the logged in user’s page.
-=======
-# Design Issues
-
-## Scoring Algorithm
->>>>>>> 547268b749cfcb273e04fc78c2ad2fc693238be6
-
-In an effort to keep our system broad, one of our requirements is that Leaguer is adaptable to many competitions, not just League of Legends. How do we assure that the different scoring systems of different sports are represented in Leaguer?
-
-Option 1
- : One of our interfaces could be “Scoring System” which will be
- implemented by many classes with common scoring systems. For
- example there would be a implementing class in which the highest
- score wins, and one in which the lowest score wins. This is likely
- to be the winning option, as there are not too many obscure
- scoring systems that we could not think of.
-
-Option 2
- : We could design an API in which the host writes a method to update
- the scoring. This is pretty complex, and while it would allow more
- customization, it is hard to imagine completing this task without
- first completing option 1.
-
-## Offline Data Management
-
-TODO – Nathniel write this
-
-## Fetching Data from Games
-
-TODO – Nathaniel write this.
-
# Design Details
## Class Descriptions and Interactions