Python Tutorials | (back to the list of tutorials) |
Warning: include(codepy/igeo_tutorial61_1/igeo_tutorial61_1.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial61_1/igeo_tutorial61_1.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
void rules(){ if(clock(1) < 1){ if(clock(0) < 8){ next(0); } else{ next(rot(PI/2),1); } } else{ if(clock(0) < 4){ next(0); } else{ next(rot(PI/2),2); } } }
void rules(){ if(clock(1) < 1){ if(clock(0) < 8){ next(0); if(clock(0)==0 && clock(2)==0 && clock(3) < 8){ next(jump(up().add(back())), 3); } } else{ next(rot(PI/2),1); } } else{ if(clock(0) < 4){ next(0); } else{ next(rot(PI/2),2); } } }
void rules(){ if(clock(1) < 1){ if(clock(0) < 8){ next(0); if(clock(0)==0 && clock(2)==0 && clock(3) < 8){ next(jump(up().add(back())), 3); } } else{ next(rot(PI/2), 1); if(clock(3)==0 && clock(2)==0){ next(4); } } } else{ if(clock(0) < 4){ next(0); } else{ next(rot(PI/2), 2); } } }
void rules(){ if(clock(1) < 1){ if(clock(0) < 8){ next(0); if(clock(0)==0 && clock(2)==0 && clock(3) < 8){ next(jump(up().add(back())), 3); } } else{ next(rot(PI/2), 1); if(clock(3)==0 && clock(2)==0){ next(jump(right()), 4); } } } else{ if(clock(0) < 4){ next(0); } else{ next(rot(PI/2), 2); } } }
void rules(){ if(clock(1) < 1){ if(clock(0) < 8){ next(0); if(clock(0)==0 && clock(2)==0 && clock(3) < 8){ next(jump(up().add(back())), 3); } } else{ next(rot(PI/2), 1); if(clock(3)==0 && clock(2)==0){ next(jump(right()).rot(PI/10), 4); } } } else{ if(clock(0) < 4){ next(0); } else{ next(rot(PI/2), 2); } } }
void rules(){ if(clock(1) < 1){ if(clock(0) < 8){ next(0); if(clock(0)==0 && clock(2)==0 && clock(3) < 8){ next(jump(up().add(back())), 3); if(clock(3)==0){ if(clock(5)==0){ if((clock(4)==15 || clock(4)==6) && clock(6) < 2){ next(jump(side()).rot(-PI/2), 5); } } else if(clock(5)==1){ if(clock(4)==4 && clock(6) < 1){ next(jump(left()).rot(PI/2), 6); } } } } } else{ next(rot(PI/2), 1); if(clock(3)==0 && clock(2)==0){ if(clock(5)==0){ next(jump(right()).rot(PI/10), 4); } else{ next(jump(right()).rot(-PI/6), 4); } } } } else{ if(clock(0) < 4){ next(0); } else{ next(rot(PI/2),2); } } }
Warning: include(codepy/igeo_tutorial61_0/igeo_tutorial61_0.html): failed to open stream: No such file or directory in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66
Warning: include(): Failed opening 'codepy/igeo_tutorial61_0/igeo_tutorial61_0.html' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/mj7789dybiu5/public_html/igeo/tutorial/tutorial.php on line 66