- 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.
- Unzip the folder downloaded and put it somewhere sensible in your file system.
Git allows you to store, publish and collaborate on code.
- Go to https://git-scm.com/
- Install with all recommended default options including "Using Git from Windows Command Prompt" if you use Windows.
Node allows you to develop a web server on your machine.
- Go to: https://nodejs.org/en/download/
- Use the website to download the version that is most appropriate for your computer.
- 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.
- Open the source files you downloaded in Atom using the menu "File" > "Add Project Folder".
- Find the folder containing the files you need and open it.
- 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.
- Open the initialise.js file in the left menu by by double clicking it so the code is in the main window.
- 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.
- Re-open atom and check that the live server is displayed in the drop down packages menu.