
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
This video will introduce you to the course before you buy.
This video will be a closer look at what this course is all about.
This video will explain the tools you will need to download and install for this course.
This is the second part of the setup video where we will install some of the programs and extensions needed for this course.
Let's talk about what Computer Code actually is.
This video will show you some of the more popular programming languages available for your to learn.
Let's talk about the computer language we will be learning in this course.
One of the key parts of any computer program is its data. We will learn about how javascript works with data types.
Let's use the data type values we talked about in the console using javascript code.
We learn what a Variable is all about in this video.
Let's use variable in code using the javascript console.
In this video we learn how to write javascript code in a file, using a text editor, and then how we can run or execute that file.
Now we will learn about Functions.
Let's write a function in javascript using the VS Code program.
We will now learn about Conditional statements. Also known as if statement.
Let's write a conditional statement in VS Code.
This video will teach you about Arrays.
We will look at writing an array in code.
Loops are a great tool to learn in programming and we will look at what a loop is in this video.
Let's write some loop code in javascript.
This video will teach you about javascript Objects.
Let's write a javascript Object in code.
This video will introduce you to javascript Classes.
Let's change our previous Object code into a Class object.
This video will introduce you to the concept of coding libraries.
We will now learn about the library we will use in our game, called p5.js
We discuss Code Documentation in this video and why it is useful.
It is important to know how to get your own answers to your questions. The internet can help with that. This video talks about how to find those answers.
We will use a tool / program we downloaded at the beginning of this course to generate a new p5 project for our game.
the P5 manager generated a few files for us, so in this video we will look at them.
Some boilerplate code was created by the generator, which include two p5 functions. We explain what those functions are in this video.
Our game will be drawn to something called a canvas in our webpage. I will talk about what that is in this video.
We need to setup our game canvas.
Let's create a snake class object for our game.
:et's get the snake moving in our game.
We have a problem. The snake moves off the game canvas area. We fix that in this video.
Our game should run on a grid so everything works smoothly. Let's set that up in this video.
To control our game we will use the arrow keys. This video will show how you can access the keys the user presses.
Now that we have the user input, let's move the direction of the snake using that input.
Our game is running very fast so let's slow things down to make it more of a retro feel.
We need an objective on our game. So we will create a food square in our game.
We need to eat that food square if we pass over it. Lets code that us in this video.
Now that our snake is eating food, we should start the tail. This will be a two parter, so let's get started.
Now we can finish the tail code and draw it to the screen. This is a big milestone for our snake game.
We must have some danger, so we will code a losesTail function to reset the game is a condition happens.
Thank you so much for completing this course. You should be very happy with yourself.
This is for complete beginners and people that just want to code a fun little game.
Register for this course so you can experience how programming a piece of computer code can be an amazing way to express yourself just like writing a poem or painting on a canvas.
The point is not about going to work for Google after you learn but instead just learn how to invent new fun things with nothing more than a computer and a text editor, that your friends, family, and yourself can enjoy.
But if nothing else just learn to have fun inventing with computer code. It is so satisfying, you just have to take the first step and learn the basics.
This educational course will be a fun and laid back few hours at the computer.
I will teach you the very basics and keep things as easy to understand as possible, while having an interactive experience throughout the day.
As the hours tick by we will slowing build a classic video game that was recently added to the Museum of Modern Art, and installed on almost every Nokia cell phone, the game is called 'snake'. This game is fun and addicting and your friends and family will be addicted to playing a game you created!!!