Level 14

Level 14

Asteroids

Asteroids

Array operations

Array operations

Asteroids game cover image
Asteroids game cover image

About this game

Navigate your spaceship through the asteroid field and destroy as many asteroids as you can. But be careful, if you hit an asteroid, you will lose a life. You only have 5 lives!

Sneak peek

Asteroids game gif

Learning outcomes

  • Create your own arrays to represent core game logic

  • Get familiar with the syntax of variables and array operations

  • Understand the concept of printing to the console

  • Learn how to access an array element and add more elements to an array

  • Customize the game using variables and arrays

About this game

Navigate your spaceship through the asteroid field and destroy as many asteroids as you can. But be careful, if you hit an asteroid, you will lose a life. You only have 5 lives!

Sneak peek

Asteroids game gif

Learning outcomes

  • Create your own arrays to represent core game logic

  • Get familiar with the syntax of variables and array operations

  • Understand the concept of printing to the console

  • Learn how to access an array element and add more elements to an array

  • Customize the game using variables and arrays

Ready to start coding?

Ready to start coding?

Get started today with Pico

Get started today with Pico

Have questions? Get in touch at info@getpico.co

Have questions? Get in touch at info@getpico.co