Introduction

Codecar.io offers an entertaining educational opportunity to anyone who wants to learn software. By playing games, you can get an idea about many topics you will need in the software world and build your algorithm infrastructure.

Attention Please

The coding section is sensitive to uppercase, lowercase, spaces and semicolons. Therefore, make sure that you follow the codes given in the documentation exactly!

Algorithm

It'is easy way to learn algorithm logic by playing a game.

Source Control

Source control is very important for software development.You will learn it with CodeCar.io

Debug

Debug helps to know what is going on in your code.If you have any bug you can fix it by checking your debug

Network

To make your software online you should learn about networking.

Drag and Drop

Pay attention to the sorting priority in the drag and drop section!

Start

The code required to move object.

copy
Start();

Stop

The code required to stop object.

copy
Stop();

MoveRight

The code required to direct the object to the right.

copy
MoveRight();

MoveLeft

The code required to direct the object to the left.

copy
MoveLeft();

MoveUp

The code required to direct the object to the up.

copy
MoveUp();

MoveDown

The code required to direct the object to the down.

copy
MoveDown();

GetOil

The code that allows the object to receive gasoline.

copy
GetOil();

OvertakeBlock

The code required for the object to overtake the vehicles in front of it.

copy
OvertakeBlock();

WaitAtRedLight

Code that makes the object stop in red light.

copy
WaitAtRedLight();

WaitAtCrossWalk

Code that makes the object stop at the pedestrian crossing.

copy
WaitAtCrossWalk();

WaitForTrain

Code that makes the object stop until the train passes.

copy
WaitForTrain();

LeftSignal

It allows the object to signal left.

copy
LeftSignal();

RightSignal

It allows the object to signal right.

copy
RightSignal();

JumpFromBomb

Allows the object to jump over the bomb.

copy
JumpFromBomb();

if

With the if method, it gives the command it needs to do if the object matches the specified object.

copy

                                    if(gameObject == Oil)
                                    {
                                    GetOil()
                                    };

else

The else method specifies the code that will be activated if the first condition of the object is not met.

copy

                                    if(gameObject == TrafficLight)
                                    {
                                        WaitAtRedLight()
                                    }
                                    else
                                    {
                                        Start()
                                    };

For

The for loop enables the execution of commands within the specified loop if the conditions are suitable for the object within the specified range.

copy

                                int i=2
                                for(i=0, i<2, i++) 
                                {
                                GetOil()
                                }