Starting Up

Starting Up

Today you will be using Replit to learn how to code your Space Invaders game. Before starting, you will need to sign up for a Replit account, if you do not yet have one.

Click the button below to sign up for a Replit account - you will need an email account in order to sign up. If you already have a Replit account, you can login to your account using the below button as well.

Sign up for Replit

Replit sign up form

Next, launch the Replit console we will use today by clicking the below button. You should see the screen below.

Launch Replit

The starting screen of a repl

We will now fork the Repl, which simply means to make a copy of the program, so that we can make our own changes to it. Click on the “Fork Repl” button on the top right, and then the “Fork Repl” button.

Forking a repl to make a copy of the program

After forking the Replit, you will see a window similar to the one below:

Replit window

For now, we will ignore the content of the project (the code), and we will instead go over the basics of how to use the website. On the left hand of the screen, you will see a list of files that contain code, or instructions for the computer to run. By pressing the run button, you tell the computer to perform the instructions in the code. Any results from running the code will be displayed on the right side, called the console.

If you press run now, you will only see a black screen. This is because the code is not yet completed - this will be your job! Any activities under the Activity sections will be done in this browser tab - so keep it handy!