1. I have learn't how to read and use coding properly.
2. I have learn't how to create my own game.
3. I have learn't how to explain how to use codes.
4. I have learn't new ideas and ways of coding.
Game Tool Command | Game Tool | Javascript Code | Technique - What does the tool do? |
Move Forward
|
moveForward();
moveForward(); |
The move forward tool enables the object or character to move forward
| |
Move forward
|
moveForward();
moveForward(); moveForward(); |
The move forward tool enables your character to move forward 3x to its targets.
| |
Move forward
Turn Right
|
moveForward();
moveForward(); turnRight(); moveForward(); |
Move forward twice
The turn right tool enables the character to change directions when used.
Move forward once
| |
Move forward
Turn Left
Turn RIght
|
moveForward();
turnLeft(); moveForward(); turnRight(); moveForward(); |
Move forward
The turn left tool enables the character to turn left when used.
Move forward then turn right and then move forward again
| |
Turn right
Move forward
Turn left
Move forward
Move forward
Move forward
Turn left
Move forward
|
turnRight();
moveForward(); turnLeft(); moveForward(); moveForward(); moveForward(); turnLeft(); moveForward(); |
Turn right then move forward, then turn left, then move forward 3x, turn left and one more forward
| |
Repeat five times do: Move forward
|
for (var count = 0; count < 5; count++) {
moveForward(); } |
Repeat five times do tool enables you to fuse that tool with another tool and when done that tool moves 5 times.
| |
Turn right
Repeat five times do: move forward
|
turnRight();
for (var count = 0; count < 5; count++) { moveForward(); } |
Turn right then use the repeat five times do tool and fuse that with the move forward tool
| |
Move forward
Turn left
Repeat 5 times do: Move forward
|
moveForward();
moveForward(); moveForward(); moveForward(); turnLeft(); for (var count = 0; count < 5; count++) { moveForward(); } |
Move forward 4x then use the turn left tool and then finally use the repeat times do tool and fuse that with the move forward
| |
Repeat 3 times do: Move forward 2x and turn right
|
*
|
for (var count = 0; count < 3; count++) {
moveForward(); moveForward(); turnRight(); } |
Use the repeat 3 times do tool and fuse that with move forward 2x tool and turn right.
|
Repeat until target do : Move forward
|
while (notFinished()) {
moveForward(); } |
Use the repeat until target do tool and fuse that with move forward
| |
Repeat until target do: move forward 2x turn left
|
while (notFinished()) {
moveForward(); moveForward(); turnLeft(); } |
Use the repeat untill target do tool and fuse that with move forward 2x tool and turn left tool
| |
Repeat until target do: move forward, turn left, move forward, turn right
|
while (notFinished()) {
moveForward(); turnLeft(); moveForward(); turnRight(); } |
Use repeat untill target do and fuse that with move forward, turn left and then again move forward and then turn right.
| |
Repeat until target do: turn right, move forward, turn left, move forward
|
while (notFinished()) {
turnRight(); moveForward(); turnLeft(); moveForward(); } |
Use the repeat until target do tool and fuse that with turn right, move forward, turn left and the move forward tool.
| |
Repeat until target do: move forward, if path: to the left:do, turn right
|
while (notFinished()) {
moveForward(); if (isPathLeft()) { turnLeft(); } } |
Use the repeat untill target do tool and then fuse with the move tool, then use the if path to the left do too and fuse with the turn left tool.
| |
Repeat until target do:move forward, if path to the right do: turn right
|
while (notFinished()) {
moveForward(); if (isPathRight()) { turnRight(); } } |
Use the until target do tool and then fuse that with the move forward tool, then use the if path to the right do tool and fuse that with the turn right tool.
| |
Repeat until target do: move forward, if path to the left do: turn left
|
while (notFinished()) {
moveForward(); if (isPathLeft()) { turnLeft(); } } |
Use the repeat target do tool ad fuse that with the move forward tool, then use tee if the path to the left too and fuse that wth turn left.
| |
Repeat until target do: move forward, If path to the right: turn right
|
while (notFinished()) {
moveForward(); if (isPathRight()) { turnRight(); } } |
Use the repat until target do, then fuse that with the move forward, then use if path to the right snd then fuse that with the turn right.
| |
Repeat until target do: move forward, If path ahead do:move forward, else: turn left
|
while (notFinished()) {
moveForward(); if (isPathForward()) { moveForward(); } else { turnLeft(); } } |
Use the repeat until target do the fuse that with move forward, then use the if path ahead do else tool and then fuse that with move forward and turn left tool.
| |
Repeat Until Do: if path ahead do else: move forward
|
while (notFinished()) {
if (isPathForward()) { moveForward(); } else { turnRight(); } } |
Use the Repeat until target tool then fuse it with the if path ahead do else tool and then fuse it with move forward and turn right.
| |
Repeat until do: if path ahead do else, move forward, if path ahead to the right do else, moveforward, if the path to the right do else, turn right , turn left
|
while (notFinished()) {
if (isPathForward()) { moveForward(); } else { if (isPathRight()) { turnRight(); } else { turnLeft(); } } } |
Use the repeat until target do tool and fuse it with the if the path ahead do else tool and then fuse it with the move forward tool and then fuse it with the if the path ahead to the right do else tool and then fuse it with the turn right and turn left tool.
|