โ ๐ Lua World
๐ Welcome to the Game
You can practise without a player, but pick a player to score points!
๐ The mission
Today you unlock
Text can be built from pieces
String levels are about joining words, numbers, and punctuation in the exact order the mission asks for.
๐ก Hint ladder
- Glue text with .. โ like "Hello, " .. name
- return "Hello, " .. name .. "! Welcome to the game!"
๐งช Coach checks
- โฏ greets Zoe
- โฏ greets Max
- โฏ greets a builder
Live coach
Getting ready
โโโ
๐ฌ In Lua you glue text with two dots: .. โ run this goodbye message!
function sayBye(name)
return "Bye bye, " .. name .. "! See you soon!"
end
print(sayBye("Zoe")) -- Bye bye, Zoe! See you soon!
print(sayBye("Max")) -- Bye bye, Max! See you soon!
๐ It printed:
Nice โ you saw it work!
๐ Output
๐งฉ Gaps filled! Ready to write it all yourself?