Microbit Games Term Topic Edition
Microbit Games Term Topic Edition
Games
COMPUTER SCIENCE TERM TOPIC EDITION
IYou are going to make Space Invaders on the micro:bit! You will code the A&B buttons to fire lasers
at the alien ship.
Explorer
Tasks
Add a bomb for the
alien ship to drop on
the defence ship.
Add sound effects
to make the game
more fun to play
Make the alien ship
This
co go faster when the
whe de will
n f score increases
touc A+B is p ire a la
hes ser
the ressed. a
alie Whe t the a
n sh
ip, it n the la lien shi
is ga se p
me o r
ver!
Created by Mr Lovell. Find at @mrlovellcomp on X
MICRO:BIT FLAPPY BIRD
In this lesson you will make a flappy bird game on the micro:bit! You will add controls for the bird
and you will add code to generate obstacles for the bird to avoid. You can expand on this game
template by adding lives, scores and sound effects - what will you add to your game?
obs
Ad
d
pos four
itio
n obs
Explorer
t
tac of t acle
and
the
les
bir y
he
a
sp
onl obst rites
c .A
d n - the les b dd c
Tasks
eed re er o
sa ar an de to
wa e 5 L dom. ma
ke
yt E C
hro Ds ac reate the
ugh ros Add a scoring
! s t four
he system to your
scr
een
game!
Add sound effects
to make the game
more fun to play
THis An an intro sprite
r
the epeat b graphic relevant to
obst l
chec acle ock is t
ks t s ac he h the flappy bird
obst o ros ea
acle see if t s the s rt of t game
s. If h cree he g
so it e bird n an ame
s ga sprit d th -
me e ha e ‘if it move
over s ro ’ bl s
! uch ock
one
of t
he
When the
micro:bit
Further
all sprite starts up
s includin , create
Peach, a g M ario, War
flashing c io,
oin and o
thers. Information
Explorer
If you have 5 racers other than Mario, you will
need 5 separate forever loops. Check the code
example if you are unsure!
Task
Ideas
Make the racers go faster
as the score increases
Explorer
micro:bit. Feel free to tune these numbers! I have found
they work well, but you may be able to fine tune this
game further!
Task
Ideas
Can you make the ghost
go faster the higher the
score?
Add another forever loop for the
Add sound effects and
ghost to chase
pacman. The time delay is importa music to your game to
nt - if you change the
time delay in the forever loop the make it engaging.
ghost will speed up
or slow down when chasing pacman Add start up logo to
.
make the player know
they are playing pacman
on the micro:bit!