Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
project:blitzpoll [2014/05/24 16:28] – blitzpoll | project:blitzpoll [2014/05/26 11:31] (current) – [What we're building] panoz | ||
---|---|---|---|
Line 2: | Line 2: | ||
========== | ========== | ||
- | www.blitzpoll.me | + | http://blitzpoll.me/index.html |
====What we're building==== | ====What we're building==== | ||
Line 18: | Line 18: | ||
Before answering the first question, the user is prompted to enter which team s/he supports. This information is then used in the data visualisation to differenciate between answers from supporters of team A and team B. | Before answering the first question, the user is prompted to enter which team s/he supports. This information is then used in the data visualisation to differenciate between answers from supporters of team A and team B. | ||
+ | A [[http:// | ||
====Minimal viable product==== | ====Minimal viable product==== | ||
- One question type | - One question type | ||
Line 26: | Line 27: | ||
- Overview of all results (open, closed) | - Overview of all results (open, closed) | ||
- | ====Data model==== | ||
- | ======Game====== | ||
- | |field|description|type| | ||
- | |----|-----------|----| | ||
- | |gameId|Unique id of the game|number| | ||
- | |hometeam|Name of the home team|string| | ||
- | |awayteam|Name of the away team|string| | ||
- | |date|Date when the game takes place|date| | ||
- | |homePlayers|All players of the home team (not needed for minimal viable product)|array| | ||
- | |awayPlayers|All players of the away team (not needed for minimal viable product)|array| | ||
- | |homeEmblem|Image of the home team's club emblem|img| | ||
- | |awayEmblem|Image of the away team's club emblem|img| | ||
- | ======Question====== | ||
- | |field|description|type| | ||
- | |----|-----------|----| | ||
- | |gameId|Id of the game so we know which game the question relates to|id| | ||
- | |questionId|Unique id of the question|id| | ||
- | |type|type of question being asked (eg Yes/No, Rating, 4-Answer-Options, | ||
- | |question|Text of the actual question being asked|string| | ||
- | |answerOptions|Answer options avaiable for this question|object| | ||
- | |countdown|Number of minutes this question will be open after it's published|number| | ||
- | |image|Background image for the question (optional)|img| | ||
- | |||
- | ====Backend==== | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ====Frontend==== | ||
- | |||
- | The frontend has two views: Vote and view. | ||
- | |||
- | Vote | ||
- | - List of open questions ordered by recency (latest question on top) | ||
- | For each question: | ||
- | - Question | ||
- | - Countdown | ||
- | - Voting options | ||
- | - Result visualisation | ||
- | |||
- | View | ||
- | - List of all visualisations of the current game ordered by recency (latest question on top) | ||
- | |||
- | (Archive) | ||
- | - Link to a list of all games, latest on top | ||
====Feature ideas for further development==== | ====Feature ideas for further development==== | ||
- | - More question and visualisation types | + | - List of all questions for a match |
+ | - More than one question active at any given time | ||
+ | - More question and visualisation types (currently only " | ||
+ | - Let users select the team they support, split results in supporters of team A and team B | ||
- embeddable visualisations (for match coverage) | - embeddable visualisations (for match coverage) | ||
- generalise for use with any sports that has two opponents (boxing, tennis, basketball, baseball, ...) | - generalise for use with any sports that has two opponents (boxing, tennis, basketball, baseball, ...) | ||
Line 91: | Line 49: | ||
+ | {{tag> | ||