Web Niraj
  • Facebook
  • Flickr
  • Github
  • Linkedin
  • Twitter
  • YouTube
Online portfolio, code examples and developer blog
  • About
  • Contact
  • Portfolio
  • WordPress
Search the site...
  • Home
  • Portfolio
  • Betfair World Series of Poker Quiz

Betfair World Series of Poker Quiz

0

The Betfair Quiz application used Flash and PHP to create a quiz related to the World Series of Poker Championship. In the game, the user is presented with a number of questions and five playing cards to choose from. If the user answers the question correctly, they can choose a card to add to their ‘hand’, if they get the answer wrong, a random card is chosen instead.

After the user collects five cards, they receive a score based on their poker hand. The score is entered into the application’s leaderboard. The aim of the application was to be the player on top of the leaderboard. The leaderboard was split into three sizes: the users friends, the user’s Facebook network, and all application users.

For this application I coded the entire application except for the Flash component used in the actual game. I created a API for use in the backend to handle the communication between the Flash game and the databases. The API was used to pass the user’s high score back to the server so it could be stored on the leaderboard. The questions were passed into the application using XML so they could easily be updated.

One of the challenges with this application was optimizing the SQL query used to generate the leaderboard. During testing we found that the query used to be slow when the user’s friends list or network was quite large. To overcome the issue we used the Facebook API to return only friends who had installed the application, and then use this sub-list in the SQL query.

Facebook, Flash

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

StackExchange / StackOverflow

profile for Niraj Shah on Stack Exchange, a network of free, community-driven Q&A sites

Support Me

Buy Me a Coffee

PSN Profile

Tags

ACL Amazon Amazon Web Services Android Android 4.4 KitKat Android 5.0 Lollipop Apache Backup Bug Command Line Cordova cPanel / WHM Facebook Facebook Graph API Facebook PHP SDK 4.0 Facebook Social Plugins Fan Page Firewall Flash Gadget Geolocation Google Nexus 5 Hacking HTML5 iOS JavaScript jQuery Laravel 5 Linux NodeJS Parse PDF PHP Plugin Portfolio PS4 Review Security Server SSH SSL Sysadmin Tutorial WordPress WordPress Plugins
© 2011-2025 Niraj Shah
  • Blog
  • Portfolio
  • WordPress
  • About Me
  • Contact Me
  • Privacy Policy
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Privacy Policy