Summary This will be a trivia game users see facts and answer if those facts are true or false. They can also submit facts as well as a source, the users will also be awarded points when others get their facts wrong. There will be a leaderboard, categories, a timer and other things to be explained below. The rest is below in deliverables.
## Deliverables
The Rest/Full
Registration
There needs to be a way for users to register, very quick and simple
* Name
* Email
* Username
* Password
Registered users can submit facts into moderation the fields will be
* Fact
* Is this true or false
* Explanation
* Source [link]
* Category - one fact can be put under multiple categories
Non-Registered
Non registered users can still play the game and their points will be tracked for this session they will however be encouraged to register as they play
* Their points will be tracked for the browser session as they play
* If they register during that browser session the points they have will roll into their account
* Un-registered users cannon submit facts
Both registered and un-registered users will start with 100 points
Admin
* The site admin will moderate facts approved by registered users and be able to submit facts into the database as well (same format: fate, true/false, explanation, source [link],cat)
* Setup Categories (two levels of categorization)
* Edit Facts
* Edit Users
Regular Game Play
1. A user browsing the site normally will be given a random fact
1. the fact that they have seen the fact is recorded so they don't see it again
2. Users can however choose to see trivia from a certain category or subcategory
3. Users are presented with a fact and the option to click is they believe it is true or false
4. If the user is right they are told so and shows a page that says "Congratulations - xx% of people got that answer right"
1. (notice that it should also be recorded how people have done on a given trivia)
2. If they get it wrong they will be shown "Sorry, better luck next time - xx% of people correctly answered that question"
1. Then underneath they will be shown the explanation for the trivia and the source link
3. After answering a question there will be the option to click next fact
5. If a user answers the trivia question correctly they will be awarded four points
1. There will be a time that counts down from 30s as soon as the page finishes loading - if they answer and get the question correct within the time limit they get one bonus points (for total 5)
<!-- -->
1. If they answer incorrectly they will lose one point - and the person who created that fact (if it was another user, will gain one point)
6. All pages should show the users score and a leaderboard for the overall site and for each category or subcategory (if the users is in that cat/sub)
1. There will be leadboards will be for alltime - this week - this month - there will also be a leaderboard for "Trickiest Fact Creator"
7. All pages will have a "See if your friends can answer this" link
1. It will click to open a form which will allow users to enter a friends email and a message (as well as this users own email/name - pre-filled if the user is logged in) then they can click send for the link to the given fact to be sent to a friend
There will also on the page be a button that says "Issue a Challenge"
1. This will allow someone to challenge their friends to a trivia contest
2. They will choose overall or a category or subcategory for the trivia topics
3. They will choose the number of questions to ask
4. They will enter their friends email's and name/msg (just like in the send to friend thing) then they send it
5. Everyone is then send a link to the quiz (the challenging user will be sent the link as well as the option to take the quiz right away after they click send)
6. When a user clicks the link to the quiz they will first be given three options, (The point being that their user name will appear in the challenge report)
1. Choose a temporary name (unregistered)
<!-- -->
1. Register
<!-- -->
1. Login
7. Then all users have given the same questions (randomly selected)
8. After they answer a question they are told who else that took the challenge got this question right or wrong. (as well as normal info)
9. At the end of the quiz they are shown the leader board for everyone involved with the challenges as well as a breakdown of how each person did on the quiz
10. They are also sent an email to the results page
11. They can also click a button that says "notify me by email when others take the challenge" (and then it would)
12. No points are awarded to the general leaderboard for challenge questions
AJAX and other things that improve the game play would be cool
## Platform
mysql, php, firefox1.5+, IE6+