<commit_before>package org.teachingkidsprogramming.section02methods;

import org.teachingextensions.logo.Tortoise;

public class Houses
{
  public static void main(String[] args)
  {
    Tortoise.show();
    //   Make the tortoise move as fast as possible --#11
    Tortoise.setSpeed(10);
    //   Have the tortoise start at 200 pixels in on the X axis --#14
    Tortoise.setX(200);
    int height = 40;
    //   drawHouse (recipe below) --#9.1
    //   ------------- Recipe for drawHouse --#9.2
    //       Change the pen color of the line the tortoise draws to lightGray --#15
    Tortoise.move(height);
    //       Turn the tortoise 90 degrees to the right --#2
    //       Move the tortoise 30 pixels --#3
    //       Turn the tortoise 90 degrees to the right --#4
    //       Move the tortoise the height of a house --#5
    //       Turn the tortoise 90 degrees to the left --#6
    //       Move the tortoise 20 pixels --#7
    //       Turn the tortoise 90 degrees to the left --#8
    //   ------------- End of drawHouse recipe --#9.3
    //   drawHouse with height 120 (recipe below) --#10
    //   drawHouse with height 90 (recipe below) --#12
    //   drawHouse with height 20 (recipe below) --#13
  }
}
<commit_msg>Finished drawHouse<commit_after>package org.teachingkidsprogramming.section02methods;

import org.teachingextensions.logo.Tortoise;
import org.teachingextensions.logo.utils.ColorUtils.PenColors;

public class Houses
{
  public static void main(String[] args)
  {
    Tortoise.show();
    Tortoise.setSpeed(10);
    Tortoise.setX(200);
    int height = 40;
    drawHouse(height);
    drawHouse(120);
    drawHouse(90);
    drawHouse(20);
    drawHouse(100);
    drawHouse(80);
    drawHouse(40);
    drawHouse(150);
  }
  private static void drawHouse(int height)
  {
    Tortoise.setPenColor(PenColors.Grays.LightGray);
    Tortoise.move(height);
    Tortoise.turn(90);
    Tortoise.move(30);
    Tortoise.turn(90);
    Tortoise.move(height);
    Tortoise.turn(-90);
    Tortoise.move(20);
    Tortoise.turn(-90);
  }
}

{'fraction_non_alphanumeric': 0.12615684364344862, 'fraction_numerical': 0.04578665367754506, 'mean_word_length': 2.4176372712146423, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2651193', 'n_tokens_mistral': 742, 'n_tokens_neox': 665, 'n_words': 188}