Write your own Raspberry Pi game
Step 10 — VariablesClick on Variables and then the “Make a Variable” button. Call it “Score”. The score will now appear in the top-left corner of the game screen. Add a new “when ‘space’ key pressed” block from Control, clip on a “forever if” block; now go to Sensing and drag in a “touching” block. Choose “shark” from the dropdown.
- What's changing in the computing curriculum
- Block party: why do millions play Minecraft?
- Ebooks: the final chapter for libraries?
- The world's most powerful computers
- Rise of the code schools
- Create a Python game for the Raspberry Pi
- Develop your skills in ICT
- Buyer's guide to tablets
- BenQ MW860USTi vs SMART LightRaise 40wi
- Buyer's guide to foreign language software
- 20 years of PC Pro: our best covers
- Why we've closed the PC Pro forums
- How to turn off Google Location Tracking
- 20 years of PC Pro: our greatest review mistakes
- 20 years of PC Pro: our first A-List
- Wikipedia's "right to be forgotten" protest hits the wrong note
- 3D printing hits the high street for plastic selfies
- 20 years of PC Pro: What amazed us in our first issue
- How Google Glass ruined my lunch hour
- Smartphone battery packs: can a USB power pack beat the festival battery blues?