CC_Book_of_Scratch_v1.pdf

(20815 KB) Pobierz
Simple coding for total beginners
Book of Scratch
Volume 1
code
clu
{
b}
click
ed
when
say
I can
{c
code
!
de
club}
o
w
w.
co
d
e
c
l
u
b
.
o
rg
I can
code!
ww
{
ode
club
c
ww
w.
c
o
d
e
clu
b.
o
rg
{
w
w.
c
o
d
e
.o
clu
b
rg
}
ode
club
c
}
ww
w
o
rg
code
clu
{
b}
{c
de
club}
o
{c
b.
o
w
w.
co
d
e
c
l
u
b
.
o
rg
I
ding
Co
ww
w.
c
o
d
e
c
l
u
ec
od
First published in 2018 by Raspberry Pi Trading Ltd, Station Road, Cambridge, CB1 2JH
{
ISBN: 978-1-912047-67-3
Printed in China
The publisher, and contributors accept no responsibility in respect of any omissions,
errors or issues relating to goods, software, viruses, or exposure to harmful web content
on websites other than its own. Except where stated, the content of this book is licensed
under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported
(CC BY-NC-SA 3.0)
rg
{c
de
club}
o
{c
w
b.
g
or
Cod
St
de
club
co
w
w
w.
}
ww
w.
c
o
d
e
clu
b.
o
rg
Writers: Rik Cross, Tracy Gardner
Illustrator: Timothy Winchester
Design: Critical Media
Editor: Phil King
Sub Editor: Nicola King
Publisher: Russell Barnes
CEO: Eben Upton
Projects tested by: Alexander King & the Code Club community
de
club}
o
ww
w.
c
o
d
e
c
l
u
Contents
Lost in Space
Contents
6
Learn to code with Scratch and Code Club!
Welcome
Welcome to the first ever Code Club book
10
Introducing Scratch
Discover how to use Scratch and start coding
24
Rock Band
Make music with your first fun coding project
38
Lost in Space
Create an animation that’s out of this world
50
Ghost Catcher
Build your own spooky ghost-catching game
4
Contents
62
Chatbot
Code your own talking character to chat to
74
On Target
Learn how co-ordinates work with this fun game
92
Boat Race
Create a cool racing game with obstacles to avoid
104
Useful Code
Handy code snippets to use in your own projects
110
Puzzle Answers
Check your answers here – no cheating now!
5
Zgłoś jeśli naruszono regulamin