We'll be incorporating our Egg Drop game with the OpenFeint features that we have discussed so far.
Create an account on the OpenFeint Developers site: http://openfeint.com/developers. You can use Egg Drop as the game name to test and then delete it later. You can choose to have it work for iOS or Android or both. The choice is up to you. Once you're logged in, click on the Account Information tab to view the Product key, Product secret, and Client Application ID. These will need to be added into your application.
From the
Chapter 9
folder, copy theEgg Drop with OF
project folder to your desktop. You can download the project files accompanying this book from the Packt website. Open up themainmenu.lua
file. Insert the game network features after the UI module and initialize it with information obtained from the OpenFeint developer account.local gameNetwork = require("gameNetwork") gameNetwork.init( "openfeint...