Skip to content
Transcript

The game that you programmed today is based off of a popular internet game called Escapa!

In Escapa! the user controls a sprite with the mouse and must avoid all other sprites.

You programmed this escape game using the programming language Scratch.

In computer science, there are many different programming languages, all of which uses same computer science concepts that you're learning in this club.

Escapa! is programmed using a language called JavaScript, which is one of the most widely used programming languages in the world.

JavaScript is a text-based language, meaning that the programmer must type out all of their code.

In high school or college level computer science courses, you will most likely learn how to code in a text-based programming language.

Take a look at what an if statement looks like in JavaScript.

To write an if statement in JavaScript, you type out the word if followed by the condition in parentheses.

The action goes inside the curly braces.

This is pretty similar to the if block in Scratch.

That means what you're creating and learning here could really help you later.

When you sign up for a computer science class years from now, you'll go right to the top of a class and find it pretty familiar, no matter which programming language you will be using, all because of our cool club here.

In the five days you've spent in this club, you've learned a lot of important computer science concepts that you'll run into again and again, no matter what programming languages you decide to learn next.

On day six, you'll create a launcher game with cloning enemies.

Until then, have fun creating and coding.

See ya next time.

(light music)

Instructions

Write a G+ shout-out!
Attributions
  • Escapa Gameplay by Pontipak (http://members.iinet.net.au/~pontipak/redsquare.html) -- Gameplay cropped out of website
  • "Prog-languages" by Wiziq Inc. (https://commons.wikimedia.org/wiki/File:Prog-languages.png) -- Licensed by CC0 Public Domain (https://creativecommons.org/publicdomain/zero/1.0/deed.en)
  • "WisCEL_classroom12_8051" by college.library (https://www.flickr.com/photos/collegelibrary/8621541931) -- Licensed by Creative Commons 2.0 Generic (https://creativecommons.org/licenses/by/2.0/) -- No modifications made