Tutorial
Write your own Raspberry Pi game
Step 08 — Randomise
Set “x” to 205. To stop the fish always appearing in the same place, go to Operators and drag the “pick random 1 to 10” block into the “y” value. Set values to -180 and 180. Next, go to Control and drag in “forever” to snap in below “go to”, then go to Motion and pull the “change x by” block inside it. Change x to -5.advertisement
Latest Features
- 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
- Buyer's guide to all-in-one inkjet printers
- Buyer's guide to high-performance media PCs
- Five inspiring websites for ICT projects
- Flickr redesign: is it enough to tempt photographers back?
- Hands on with the new Google Maps
- Nokia Lumia 925 review: first look
- Why I won't subscribe to Creative Cloud
- GoPro camera strapped to a remote-control helicopter: the ultimate boy's toy
- Acer Iconia A1 review: first look
- Acer Aspire P3 review: first look
- Acer Aspire R7 review: first look
- How we produce the PC Pro podcast
- Google Now draining iPhone battery
advertisement
Sponsored Links



















