Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 1, 2023
1 parent d52fa2d commit fc065a2
Show file tree
Hide file tree
Showing 17 changed files with 10,829 additions and 4,408 deletions.
218 changes: 109 additions & 109 deletions content/achievements/mi.yaml
Original file line number Diff line number Diff line change
@@ -1,139 +1,139 @@
achievements:
my_class_my_rules:
text: Customize a class
title: My Class, my Rules
hedy-ious:
text: Print 10 times the same string without using a loop
title: Hedy-ious
adventure_is_worthwhile:
title: Adventure is Worthwhile
text: Store a program from an adventure
deadline_daredevil_I:
title: Deadline Daredevil I
text: Submit 1 Hedy program
deadline_daredevil_II:
title: Deadline Daredevil II
text: Submit 3 Hedy programs
deadline_daredevil_III:
title: Deadline Daredevil III
text: Submit 10 Hedy programs
detention:
title: Detention!
text: Remove a student from a class
did_you_say_please:
title: Did you say please?
text: Create a program with the 'ask' command
do_you_have_copy:
title: Do you have a copy?
text: Delete a saved program
double_check:
title: Double-check
text: Get a duplicate program name warning
end_of_semester:
title: End of Semester
text: Delete a class
epic_education:
title: Epic Education
text: Join a class
error_or_empty:
title: Error or empty?
text: Create a program that has no output
fresh_look:
title: Fresh Look
text: Change your profile picture
full_house:
title: Full House
text: Have a class with more than 20 students
getting_started_I:
title: Getting Started I
text: Run 5 Hedy programs
getting_started_II:
text: Run 10 Hedy programs
title: Getting Started II
quiz_master:
text: Get the maximum score on a quiz
title: Quiz Master
text: Run 10 Hedy programs
getting_started_III:
title: Getting Started III
text: Run 50 Hedy programs
getting_started_IV:
title: Getting Started IV
text: Run 200 Hedy programs
detention:
title: Detention!
text: Remove a student from a class
ring_the_bell:
text: Finish the teacher tutorial
title: Ring the Bell
programming_panic:
title: Programming Panic
text: Try to run a faulty program 3 times in a row
fresh_look:
title: Fresh Look
text: Change your profile picture
indiana_jones:
title: Indiana Jones
text: Search within the explore page
deadline_daredevil_II:
title: Deadline Daredevil II
text: Submit 3 Hedy programs
hedy_hacking:
text: Create a timeout due to your program running too long
title: Hedy Hacking
getting_started_V:
title: Getting Started V
text: Run 500 Hedy programs
go_live:
title: Let's Go Live
text: Create a public profile
hedy-ious:
title: Hedy-ious
text: Print 10 times the same string without using a loop
hedy_certificate:
title: Hedy Certificate of Completion
text: Hedy Certificate of Completion
adventure_is_worthwhile:
text: Store a program from an adventure
title: Adventure is Worthwhile
hedy_hacking:
title: Hedy Hacking
text: Create a timeout due to your program running too long
hedy_honor:
title: Hedy Honor
text: Run a program that prints the text 'Hedy'
one_to_remember_III:
text: Save 10 Hedy programs
title: One to Remember III
one_for_money:
text: Duplicate a class
title: One for the Money, Two for the Show
did_you_say_please:
text: Create a program with the 'ask' command
title: Did you say please?
indiana_jones:
title: Indiana Jones
text: Search within the explore page
lets_focus:
title: Let's Focus
text: Turn on the programmers mode
make_some_noise:
text: Let your program be read aloud
title: Make Some Noise
one_to_remember_IV:
text: Save 25 Hedy programs
title: One to Remember IV
double_check:
text: Get a duplicate program name warning
title: Double-check
deadline_daredevil_I:
text: Submit 1 Hedy program
title: Deadline Daredevil I
one_to_remember_I:
text: Save 1 Hedy program
title: One to Remember I
one_to_remember_V:
text: Save 50 Hedy programs
title: One to Remember V
getting_started_V:
title: Getting Started V
text: Run 500 Hedy programs
deadline_daredevil_III:
title: Deadline Daredevil III
text: Submit 10 Hedy programs
epic_education:
title: Epic Education
text: Join a class
talk-talk-talk:
text: Create a program with a least 5 ask keywords
title: Talk-talk-talk
text: Let your program be read aloud
my_class_my_rules:
title: My Class, my Rules
text: Customize a class
next_question:
title: Next Question...
text: Finish a Hedy quiz
ninja_turtle:
title: Ninja Turtle
text: Create a program with the turtle
on_second_thoughts:
text: Rename a class
title: On Second Thoughts
do_you_have_copy:
title: Do you have a copy?
text: Delete a saved program
well_begun_is_half_done:
text: Finish the Hedy tutorial
title: Well begun is half done
trying_is_key:
text: Use all Hedy commands at least once
title: Gotta Use Them All
getting_started_III:
title: Getting Started III
text: Run 50 Hedy programs
watch_out:
text: Create a program that results in a (non-empty) warning
title: Watch out!
text: Rename a class
one_for_money:
title: One for the Money, Two for the Show
text: Duplicate a class
one_to_remember_I:
title: One to Remember I
text: Save 1 Hedy program
one_to_remember_II:
text: Save 5 Hedy programs
title: One to Remember II
end_of_semester:
text: Delete a class
title: End of Semester
text: Save 5 Hedy programs
one_to_remember_III:
title: One to Remember III
text: Save 10 Hedy programs
one_to_remember_IV:
title: One to Remember IV
text: Save 25 Hedy programs
one_to_remember_V:
title: One to Remember V
text: Save 50 Hedy programs
programming_panic:
title: Programming Panic
text: Try to run a faulty program 3 times in a row
programming_protagonist:
title: Programming Protagonist
text: Run a successful program after an error
quiz_master:
title: Quiz Master
text: Get the maximum score on a quiz
ready_set_education:
title: Ready, Set, Education!
text: Create a class
ninja_turtle:
title: Ninja Turtle
text: Create a program with the turtle
ring_the_bell:
title: Ring the Bell
text: Finish the teacher tutorial
sharing_is_caring:
title: Sharing is Caring
text: Share a saved program
programming_protagonist:
text: Run a successful program after an error
title: Programming Protagonist
error_or_empty:
title: Error or empty?
text: Create a program that has no output
go_live:
text: Create a public profile
title: Let's Go Live
full_house:
title: Full House
text: Have a class with more than 20 students
next_question:
title: Next Question...
text: Finish a Hedy quiz
talk-talk-talk:
title: Talk-talk-talk
text: Create a program with a least 5 ask keywords
trying_is_key:
title: Gotta Use Them All
text: Use all Hedy commands at least once
watch_out:
title: Watch out!
text: Create a program that results in a (non-empty) warning
well_begun_is_half_done:
title: Well begun is half done
text: Finish the Hedy tutorial
76 changes: 38 additions & 38 deletions content/adventures/ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1415,35 +1415,35 @@ adventures:
print 'Thanks for ordering!'
```
start_code: |2
start_code: |4
define food_order
toppings = ask 'pepperoni, tuna, veggie or cheese?'
size = ask 'big, medium or small?'
number_of_pizza = ask 'How many these pizzas would you like?'
define food_order
toppings = ask 'pepperoni, tuna, veggie or cheese?'
size = ask 'big, medium or small?'
number_of_pizza = ask 'How many these pizzas would you like?'
print 'YOU ORDERED'
print number_of_pizzas ' size ' topping ' pizza'
print 'YOU ORDERED'
print number_of_pizzas ' size ' topping ' pizza'
define drinks_order
drink = ask 'water, coke, icetea, lemonade or coffee?'
number_of_drinks = ask 'How many of these drinks would you like?'
define drinks_order
drink = ask 'water, coke, icetea, lemonade or coffee?'
number_of_drinks = ask 'How many of these drinks would you like?'
print 'YOU ORDERED'
print number_of_drinks ' ' drink
print 'YOU ORDERED'
print number_of_drinks ' ' drink
'Welcome to Hedy pizza'
more_food = ask 'Would you like to order a pizza?'
while more_food = 'yes'
return food_order
more_food = ask 'Would you like to order a pizza?'
more_drinks = ask 'Would you like to order some drinks?'
while more_drinks == 'yes'
call drink_order
more_drinks == ask 'Would you like to order more drinks?'
'Welcome to Hedy pizza'
more_food = ask 'Would you like to order a pizza?'
while more_food = 'yes'
return food_order
more_food = ask 'Would you like to order a pizza?'
more_drinks = ask 'Would you like to order some drinks?'
while more_drinks == 'yes'
call drink_order
more_drinks == ask 'Would you like to order more drinks?'
print 'Thanks for ordering!'
print 'Thanks for ordering!'
18:
story_text: |-
### Exercise
Expand All @@ -1466,22 +1466,22 @@ adventures:
print 'there a ' sound
print 'everywhere a ' sound sound
```
start_code: |2
animals = ['pig', 'dog', 'cow']
sounds = ['oink', 'woof', 'moo']
for i in range 1 to 3
animal = animals[i]
sound = sounds[i]
print 'Old McDonald had a farm'
print 'E I E I O!'
print 'and on that farm he had a ' animal
print 'E I E I O!'
print 'with a ' sound sound ' here'
print 'and a ' sound sound ' there'
print 'here a ' sound
print 'there a ' sound
print 'everywhere a ' sound sound
start_code: |4
animals = ['pig', 'dog', 'cow']
sounds = ['oink', 'woof', 'moo']
for i in range 1 to 3
animal = animals[i]
sound = sounds[i]
print 'Old McDonald had a farm'
print 'E I E I O!'
print 'and on that farm he had a ' animal
print 'E I E I O!'
print 'with a ' sound sound ' here'
print 'and a ' sound sound ' there'
print 'here a ' sound
print 'there a ' sound
print 'everywhere a ' sound sound
default:
name: Introducció
default_save_name: intro
Expand Down
Loading

0 comments on commit fc065a2

Please sign in to comment.