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 (, EtherPad ( and ( all provide online editing services. ...

Get Beginning Facebook Game Apps Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.