O'Reilly logo

Beginning Facebook Game Apps Development by Wayne Graham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Boilerplate

There is some boilerplate code that we need to get out of the way before we begin coding our game. This includes setting up the directory structure for the game, as well as some HTML and CSS code that we refine throughout this chapter to make this an engaging game. Although my personal development platform is OS X, I provide the Windows equivalent of any commands I mention. My editor of choice is vim (well, macvim), which is shown in my screenshots, but all you really need is a text editor.

TIP: There are a growing number of Cloud-based integrated development environments (IDE) that allow you to code in your browser. Cloud9 (http://c9.io), EtherPad (http://etherpad.com/) and codr.cc (http://codr.cc) all provide online editing services. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required