| News | Characters | World | Downloads | Author | |
| The Honour of the Knights | The Third Side | ||||
|
Battle for the Solar System Pop Quiz Welcome to the Battle for the Solar System Pop Quiz. Here, you'll be given the opportunity to test your knowledge of the books and the story, by answering a series of 15 random questions. Choose the book you'd like to answer questions on and then click the title to begin. Each question will also specify the relevant chapter (where appropriate) that they are referring to. This may prove a useful hint. There are no prizes - it's just for fun!
Play the Quiz
Submit a Question If you want to add a question, you can do so by using the links below:
Top 25 Endurance Players
Android Quiz App You can now play the BATTLE FOR THE SOLAR SYSTEM quiz on your Android device, using the specially created quiz app. The app contains all the questions from the official website and can also download new questions when they are available. Players can choose from different categories, as well as selecting the number of questions to play. It also features the ability for players to create and upload their own questions. Note: this application requires Android 2.2 or higher Get it from the Android Market: https://market.android.com/details?id=com.parallelrealities.bftssquiz
XML Data Feed Should you wish to create a simple mobile app for this quiz (to use, for example, on an iPhone or other device), then you can find a feed of the data here: http://www.battleforthesolarsystem.com/quiz/feed.xml This feed is presented in XML and is effectively just a database dump. It contains all the primary and foreign key mappings for categories to chapters to questions. It also lists meta data, such as the total numbers of each, as well as the update time for the quiz. Keep in mind that the contents of the question, correctAnswer, answer1, answer2 and answer3 elements are base64-encoded, to prevent people from easily discovering the answers to the questions. You will need to decode these in your app (a task which shouldn't prove difficult with any modern API). Since the feed can be quite big (~300k and growing), one may not wish to download the feed every time. To handle this, the XML feed accepts a parameter called ut (update time) which specifies the timestamp of user's own data. Should the timestamp be equal to or greater than the feed's last update, no information is returned. Should the timestamp be less than the feed's last update, the entire quiz data set is returned. The ut parameter takes the form of a number, representing the number of seconds which have passed since the Unix Epoch (January 1st, 1970 00:00:00 GMT). This data is gzip deflated. You should always send an accept type of "gzip, deflate" to this data, in order to avoid downloading 300KB+ worth of XML with each request. The data sent back will be compressed by a factor of around 10 (so, 30KB, instead of 300KB). Parameters
ut
lang Examples January 1st 2010 - will always return data http://www.battleforthesolarsystem.com/quiz/feed.xml?ut=1262304000 Tomorrow - will never return a data set http://www.battleforthesolarsystem.com/quiz/feed.xml?ut=1329955200 License The data from this feed is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License, with the following attribution: © 2009-2011, Stephen J Sweeney | www.battleforthesolarsystem.com
References Additionally, those wishing to develop an app may find the following SQL useful. This is the SQL currently used in the Android version of the quiz app, to create tables, commit data and pull back results. It should help a great deal with development. BFTSS Quiz App SQL - 3Kb |
| About :: Help :: Report a Typo! :: News RSS Feed :: Page Updates :: Guestbook :: Contact Information :: FAQ :: Links |
© Stephen J Sweeney 2008 - 2012
Silk Icons by Mark James