Facebook Score API
The game we just developed could be deployed in a lot of places right now because it is just HTML code. You could make it playable from a website and code a high-score system into the game that uses your browser's LocalStorage API to record a user's high score. This would be relatively straightforward, but you really are limited to seeing your own high scores. You could write your own database system for recording high scores as we did in Chapter 12. There are some limitations with a solution like this, especially if you need to develop an authentication/authorization system (there are a lot of talented site crackers out there). This is actually a big plus for a framework such as the Facebook platform, to manage some of these ...
Get Beginning Facebook Game Apps Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.