Setup Instructions

Download the code

  1. Go to: https://github.com/cambridgecoding/flappybird and download the code by clicking on the green "Clone or download" button in the top right corner.
  2. Unzip the folder downloaded and put it somewhere sensible in your file system.

Install git

Git allows you to store, publish and collaborate on code.

  1. Go to https://git-scm.com/
  2. Install with all recommended default options including "Using Git from Windows Command Prompt" if you use Windows.

Install Node

Node allows you to develop a web server on your machine.

  1. Go to: https://nodejs.org/en/download/
  2. Use the website to download the version that is most appropriate for your computer.

Install the Atom text editor and plugins

  1. You will be using a text editor called Atom to write your code. You can download and install it from https://atom.io/ If you have a Windows 10 operating system, we recommend you use version 1.28 portable.
  2. Open the source files you downloaded in Atom using the menu "File" > "Add Project Folder".
  3. Find the folder containing the files you need and open it.
  4. Install the "script" package.
  • Open the "Preferences" dialogue in the menu (it might be called "Settings" on some versions).
  • Click on the “Install” category.
  • Search for the “script” package.
  • Click “Install” on the “script” package entry.
  1. Open the initialise.js file in the left menu by by double clicking it so the code is in the main window.
  2. In the menus, choose “Packages” > “Script” > “Run Script”. This may take a few seconds to execute. You should get a green tick and two green "done" outputs.
  3. Re-open atom and check that the live server is displayed in the drop down packages menu.