Actividad Integradora Etapa 4 TiC II
Enviado por MRgro04456 . • 14 de Mayo de 2019 • Práctica o problema • 2.802 Palabras (12 Páginas) • 288 Visitas
Escuela Industrial Y Preparatoria Técnica Álvaro Obregón
TIC II
Actividad Integradora Etapa 4
Nombre: Kevin Alexandro Alemán Mendoza
Matricula: 1898855
Grupo: 2K5
Aula: 123M
MUNDO INICIAL
[pic 1]
MUNDO FINAL
[pic 2]
PROGRAMA
class program {
program () {
iterate (300)
pickbeeper ();
{
while (frontIsClear ()) {
move ();
}
turnleft ();
move ();
move ();
iterate (20)
putbeeper ();
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
turnleft ();
move ();
move ();
turnleft ();
move ();
iterate (20)
putbeeper ();
while (frontIsClear ()) {
move ();
}
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
turnleft ();
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
turnleft ();
turnleft ();
turnleft ();
move ();
iterate (20)
putbeeper ();
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
turnleft ();
turnleft ();
turnleft ();
move ();
move ();
turnleft ();
turnleft ();
turnleft ();
move ();
iterate (20)
putbeeper ();
turnleft ();
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
turnleft ();
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
turnleft ();
turnleft ();
turnleft ();
move ();
turnleft ();
turnleft ();
turnleft ();
move ();
iterate (20)
putbeeper ();
turnleft ();
turnleft ();
move ();
turnleft ();
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
turnleft ();
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
iterate (20)
putbeeper ();
turnleft ();
turnleft ();
move ();
turnleft ();
turnleft ();
turnleft ();
move ();
turnleft ();
turnleft ();
turnleft ();
while (frontIsClear ()) {
move ();
}
iterate (20)
putbeeper ();
turnleft ();
turnleft ();
move ();
turnleft ();
move ();
turnleft ();
while (frontIsClear ()) {
move ();
}
turnleft ();
move ();
turnleft ();
turnleft ();
turnleft ();
move ();
iterate (20)
putbeeper ();
turnleft ();
turnleft ();
move ();
turnleft ();
turnleft ();
turnleft ();
...