Pages

Monday 10 October 2016

Recap : Games Tools and Techniqnces.

Recap : Games - Tools & Techniques
I have learnt that to play this game you must use your  tools & techniqnces. The tools help you move your avatar in many diffeerent directions such as " move forward " which allows your avatar to move forward. By using the right tools it will allow you to reach your destation with dying.

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 tool allows you to move your avatar foward .
Move forward
Move forward
Move right
Move forward
Screen Shot 2016-09-06 at 9.15.22 AM.png
Screen Shot 2016-09-06 at 9.08.54 AM.png
moveForward();
moveForward();
turnRight();
moveForward();
The move tool allows you to move your avatar foward .
The right tool allows your avatar to turn right.
Move forward
Turn left
Move forward
Turn Right
Move Forward
Screen Shot 2016-09-06 at 9.08.46 AM.png
Screen Shot 2016-09-06 at 9.15.22 AM.png
moveForward();
turnLeft();
moveForward();
turnRight();
moveForward();
The move tool allows you to move your avatar foward .
The move left tool makes your avatar move left .
Turn right
Move forward
Turn left
Move Forward
Move forward
Move forward
Turn left
Move forward
Screen Shot 2016-09-06 at 9.27.02 AM.png
turnRight();
moveForward();
turnLeft();
moveForward();
moveForward();
moveForward();
turnLeft();
moveForward();
The turn right tool allows you to turn your to the right.
The  move forward tools allows you to move forward with your avatar.
Repeat 5 times do & move forward
Screen Shot 2016-09-06 at 9.29.34 AM.png
for (var count = 0; count < 5; count++) {
 moveForward();
}
The repeat tool allows you to repeat the same thing about 5 times. The move forward tool allows you to move forward.
Turn right
Repeat 5 times move forward
Screen Shot 2016-09-06 at 9.31.32 AM.png
turnRight();
for (var count = 0; count < 5; count++) {
 moveForward();
}
The turn right tools allow you to right right.
The repeat tool will make you able to “ move forward “ 5 times.
Repeat 5 times
Move forward
Move forward
Turn left
Repeat 5 times
Move forward
Screen Shot 2016-09-06 at 9.34.18 AM.png
for (var count = 0; count < 5; count++) {
 moveForward();
}
turnLeft();
for (var count2 = 0; count2 < 5; count2++) {
 }
The repeat tool allows you to do a movement as you wish 5 times.
The turn left tools allows you to turn your avatar left .
The repeat tool allows you repeat your movement about 5 times.
Move forward
Move forward
Turn right
Move forward
Move forward
Turn right
Repeat  3 times
Move forward
Screen Shot 2016-09-06 at 9.37.23 AM.png
moveForward();
moveForward();
turnRight();
moveForward();
moveForward();
turnRight();
for (var count = 0; count < 3; count++) {
 moveForward();
}
The repeat 3 times tool allows you to repeat the same movement 3 times.
The move forward tools allows your avatar to move move forward.
The right tool will make your tool turn right.
Repeat until do
Move forward
Screen Shot 2016-09-06 at 9.40.43 AM.png
while (notFinished()) {
 moveForward();
}
The repeat tool will make your avatar move forward most likely to be 5 steps.
Repeat
Move forward
Move forward
Turn left
Move forward
Move forward
Turn left
Move forward
Move forward
Screen Shot 2016-09-06 at 9.44.28 AM.png
while (notFinished()) {
 moveForward();
 moveForward();
 turnLeft();
 moveForward();
 moveForward();
 turnLeft();
 moveForward();
 moveForward();
}
The repeat tool allows you to repeat your movement about 5 times.
The movement tools allows your avatar to move forward.
The turn left tool allows your avatar to turn left.
Repeat until do
Move forward
Turn left
Move forward
Turn right
Screen Shot 2016-09-06 at 9.47.21 AM.png
while (notFinished()) {
 moveForward();
 turnLeft();
 moveForward();
 turnRight();
}
The repeat tool allows you do the same movement for about 5 times.
The movement tool allows your avatar to move forward.
The turn left tool allows your avatar to turn left.
The right tools allows your avatar to move right.
Repeat
Turn right
Move forward
Turn left
Move forward
Screen Shot 2016-09-06 at 9.51.42 AM.png
while (notFinished()) {
 turnRight();
 moveForward();
 turnLeft();
 moveForward();
}
The repeat tool allows you do the same movement for about 5 times.
The movement tool allows your avatar to move forward.
The right tools allows your avatar to move right.
The turn left tool allows your avatar to turn left.



Repeat until do
Move forward
If path do
Turn left
Move forward
Screen Shot 2016-09-06 at 10.01.49 AM.png
while (notFinished()) {
 moveForward();
 if (isPathLeft()) {
   turnLeft();
   moveForward();
 }
}
The repeat tool will allow you to repeat your movement.
The move forward tool allows you too move forward .
The if path do allows to have 2 options to go the the left or
Move forward.
Move forward
Repeat until do
Move forward
If path do ( move forward )
Turn right
Move forward
Screen Shot 2016-09-06 at 10.07.11 AM.png
moveForward();
while (notFinished()) {
 moveForward();
 if (isPathRight()) {
   turnRight();
   moveForward();
 }
}
The move forward tool allows you to move forward.
The repeat until do tool allows you to repeat your movement.
The turn right tool allows you to turn right
Move forward
Repeat until do
Move forward
If path ( to the left )
Turn left
Move forward
Screen Shot 2016-09-06 at 10.12.22 AM.png
moveForward();
while (notFinished()) {
 moveForward();
 if (isPathLeft()) {
   turnLeft();
   moveForward();
 }
}
The move tool allows you to move forward in the direction you have chosen.
The repeat until do tool allows you to move forward.
The if path tool also gives you 2 options either to go left or to move forward.
Move forward
Turn left
Move forward
Move forward
Move forward
Turn left
If path ahead do ( repeat until do  move forward )
Screen Shot 2016-09-06 at 10.24.03 AM.png
moveForward();
turnLeft();
moveForward();
moveForward();
moveForward();
turnLeft();
if (isPathForward()) {
 while (notFinished()) {
     moveForward();
 }
} else {
 turnRight();
}
The move forward tool allows you to move forward
The turn left tool allows you to turn left.
The if path do tool gives you two options with you can not leave empty.
Move forward
Move forward
Move forward
Move forward
Move forward
Turn right
Move forward
Move forward
Move forward
Move forward
Turn right
Move forward
Move forward
Move forward
Move forward
Screen Shot 2016-09-13 at 9.19.59 AM.png
moveForward();
moveForward();
moveForward();
moveForward();
moveForward();
turnRight();
moveForward();
moveForward();
moveForward();
moveForward();
turnRight();
moveForward();
moveForward();
moveForward();
moveForward();
The move tool allows you to move forward.
The turn right tools allows you to turn your avatar right.
The turn right tools allows you to turn your avatar right.

This is the final level
Repeat  until do
If path do else - move forward
If path do else ( to the right )
Turn right
Turn left  
Screen Shot 2016-09-13 at 9.27.38 AM.png
while (notFinished()) {
 if (isPathForward()) {
   moveForward();
 } else {
   if (isPathRight()) {
     turnLeft();
     turnRight();
   } else {
   }
 }
}
The repeat tool will allow you to repeat the movement to choose.
The move tool allows you to move forward.
The if path do gives you two options.
The turn right tools allow you to turn right.
The turn left tool allow you to turn your avatar left.