Menu
Coddy logo textTech
lua iconLua 여정의 일부여정

Luau 배우기

무료 인터랙티브 Luau 강의입니다. Luau는 Roblox에서 만든 점진적 타입 시스템을 갖춘 Lua 방언으로, 모든 Roblox 게임이 이 언어로 작성됩니다. 매 레슨에서 실제 Luau를 작성합니다 - 타입 주석, 타입 지정 테이블, 유니온, 리터럴 타입, 제네릭, strict 모드. 타입 오류에 막히면 AI 힌트가 돕고, 끝내면 수료증을 받습니다. Lua 여정의 네 번째 섹션이라 Luau가 올라선 Lua 기초는 한 번의 클릭 거리에 있습니다.

68,940+ 명의 codders가 등록함

73 개 강의57 챌린지420 퀴즈 문제

  • 초보자 환영
  • sparkles iconAI 코딩 도우미
  • hint icon실습 중심의 대화형 강의
  • volume On icon모든 레슨에 음성 나레이션 제공
  • quiz icon지식을 확인하는 퀴즈
  • certificate icon무료 수료증

커리큘럼

1 섹션2 프로젝트73 개 강의57 챌린지420 퀴즈 문제

이 섹션은 Lua 여정의 일부입니다. 전체 커리큘럼에는 더 많은 섹션이 있어요 - 아래 미리보기를 클릭하면 여정 페이지에서 확인할 수 있습니다.

  1. 섹션 1기초 (Fundamentals)90 개 강의
  2. 섹션 2로직 및 흐름 제어 (Logic & Flow)54 개 강의
  3. 섹션 3객체 지향 프로그래밍 (Object Oriented Programming)70 개 강의
  4. 섹션 시작하기시작펼치기접기점진적 타입 시스템을 갖춘 Lua인 Luau로 Lua 실력을 한 단계 더 발전시켜 보세요. 타입 주석, 타입 테이블, 유니온, 제네릭 등을 배우고 코드가 실행되기도 전에 버그를 잡아내세요.

    핵심 타입

    7 개 강의748

    타입이 지정된 테이블: 배열과 맵

    9 개 강의863

    함수 다루기

    8 개 강의856

    별칭, 유니온, 인터섹션

    7 개 강의748

    테이블 셰이프 타입 지정

    8 개 강의755

    프로젝트: Typed Task Manager

    프로젝트6 개 강의1

    제네릭: 첫걸음

    6 개 강의539

    프로젝트: 제네릭 인벤토리

    프로젝트5 개 강의1

    고급 주제

    6 개 강의640
제공되는 것
코딩을 배우기 위해 사용할 모든 것

Learn by Doing

Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.

playground.js
Code Editor
1const greeting = "Hello, Coddy!"
2function sayHi(name) {
3    return greeting + " " + name
4}
5
bottombar Collapse icon
Test #1test Case Success icon
Test #2test Case Success icon
Test #3test Case Failure icon
Input
"Alex"
Output
"Hello, Coddy! Alex"

Build Your Coding Streak

Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.

12 days streak

Return tomorrow to keep your streak!

fire Filled icon
left icon

January 2026

right icon

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

21

22

23

24

25

26

27

28

29

30

product Double Or Nothing icon

Double or Nothing

Day 5 of 7

fire Freeze icon

Streak Freeze

2 left

Code Anywhere, Anytime

Take your coding journey on the go! No setup, no downloads - just open and start coding. Available on iOS, Android and Web with 4.9 star ratings.

Python
7Streak
250Score
5Energy
Variables
journey Hex Done Base iconjourney Hex Done Shadow iconjourney Hex Done Top iconjourney Lesson Done icon
journey Path Right Done icon
journey Hex Done Base iconjourney Hex Done Shadow iconjourney Hex Done Top iconjourney Lesson Done icon
journey Path Left Done icon
journey Hex Active Base iconjourney Hex Active Shadow iconjourney Hex Active Top iconjourney Lesson Theory Challenge icon
CONTINUE
journey Path Right icon
journey Hex Locked Base iconjourney Hex Locked Shadow iconjourney Hex Locked Top iconjourney Lesson Theory Challenge icon
journey Path Left icon
journey Hex Locked Base iconjourney Hex Locked Shadow iconjourney Hex Locked Top iconjourney Lesson All icon
Journey
Goals
Leaderboard
Profile
4.9
StarStarStarStarStar
Rating

You're Not Alone in This

Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!

Challenger League
Challenger LeagueTop 7 advance
leaderboard First icon1
avatar 1 icon
fire Filled icon
Alex7+ Days
2840
leaderboard Second icon2
avatar 2 icon
fire Filled icon
Jordan7+ Days
2650
leaderboard Third icon3
avatar 3 icon
fire Filled icon
Sam7+ Days
2420
4
avatar 4 icon
Casey
2180
5
avatar placeholder icon
fire Filled icon
Morgan7+ Days
1950
leaderboard Arrow Up iconPromotion zoneleaderboard Arrow Up icon

Every way to learn

Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.

Intro to Variables
Audio

A variable is a named container that stores a value you can reference later in your program.

In Python, you create one by writing the name, an equals sign, then the value you want to store.

The value can change over time - reassigning the name simply points it to a new value.

1xSarah

Prove Your Skills

Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.

CoddyCertificate of Completion
This certifies thatJohn Doehas successfully completed
PythonPython Fundamentals
Verified
DateJan 2026
LinkedInAdd to LinkedIn

Coddy에서 Luau를 배우는 이유

  • 브라우저에서 Luau를 실행합니다. Roblox Studio도, 직접 빌드한 luau CLI도, 에디터 플러그인도 필요 없습니다 - 타입이 있는 코드를 쓰면 출력과 타입 오류를 즉시 볼 수 있습니다.
  • 타입 시스템을 작은 단계로: 주석, any/unknown/never, ?로 표현하는 옵셔널 타입, 타입 지정 배열과 맵, 함수 타입, 타입 별칭, 유니온과 인터섹션, 리터럴 타입, 테이블 형태, 열거형, 제네릭, 타입 가드.
  • 순수 Lua에는 없는 Luau 전용 문법: 백틱 문자열 보간, 복합 대입(+=, ..=), continue, if ... then ... else 표현식, 일반화된 반복, table.freeze.
  • AI 힌트는 Luau 타입 오류가 실제로 무엇을 말하는지 정답을 주지 않고 설명해 줍니다. 다음 오류는 스스로 읽을 수 있게 됩니다.

Luau 학습에 대해 자주 묻는 질문

Luau란 무엇인가요?

Luau는 Lua 5.1에서 파생된 프로그래밍 언어로, Roblox가 개발해 오픈소스로 공개했습니다. Lua의 문법과 속도를 유지하면서 점진적 타입 시스템을 추가해, 원하는 만큼만 타입을 붙일 수 있습니다. 모든 Roblox 게임이 이 언어로 스크립팅되며, 빠르고 임베드하기 쉬운 스크립트 언어로 단독으로도 쓰입니다.

Lua와 Luau의 차이는 무엇인가요?

Luau는 일부 기능이 제거된 Lua 5.1의 상위 집합입니다. 가장 큰 추가 사항은 타입입니다: local hp: number = 100, 타입 별칭, 유니온, 제네릭, 그리고 세 가지 검사 모드(--!nocheck, --!nonstrict, --!strict). 또한 백틱 문자열 보간, +=..= 같은 복합 대입 연산자, continue, if ... then ... else 표현식, 정수 나눗셈 //, 일반화된 반복, table.freeze 같은 함수가 추가됩니다. 반면 샌드박싱을 위해 loadstring, loadfile, dofile은 빠졌습니다. 일반적인 Lua 코드는 보통 수정 없이 Luau로 실행됩니다.

Luau를 배우기 전에 Lua를 알아야 하나요?

네. Luau는 타입이 얹힌 Lua이므로 테이블, 함수, 메타테이블, 스코프가 동일합니다. 그래서 이 섹션이 Lua 여정의 네 번째 파트입니다. 기초, 논리와 흐름, OOP를 먼저 진행해도 되고, 이미 Lua가 익숙하다면 바로 여기서 시작해도 됩니다.

Luau가 Roblox 스크립팅과 같은 건가요?

Luau는 언어이고, Roblox 스크립팅은 언어에 Roblox 엔진 API(game, workspace, Instance.new, 이벤트, 서비스)를 더한 것입니다. 이 강의는 언어 자체를 가르칩니다 - 모든 Luau 프로젝트에 통하는 부분이자, 실제 Roblox 코드를 읽기 시작할 때 걸리는 부분입니다. 레슨은 브라우저에서 단독 Luau를 실행하므로 Roblox 엔진 API는 여기서 사용할 수 없습니다. 언어가 익숙해지면 Roblox API는 다시 배우는 언어가 아니라 찾아보는 문서가 됩니다.

Luau의 타입 시스템은 TypeScript와 비슷한가요?

발상은 같습니다. 동적 언어 위에 선택적 정적 타입을 올려 실행 전에 검사하며, 유니온, 제네릭, 리터럴 타입, 좁히기 같은 개념이 그대로 이어집니다. 문법은 다릅니다(local x: number, type Point = { x: number, y: number }, 함수 타입은 (number) -> string). Luau는 주석 없이도 많은 것을 추론합니다. TypeScript 경험이 있다면 한두 레슨 만에 익숙해집니다.

Luau를 온라인에서 무료로 배울 수 있나요?

네. Luau 섹션 전체가 무료입니다 - 레슨, 코딩 연습, 프로젝트, 퀴즈, 수료증까지. luau 런타임이 브라우저 에디터에 내장되어 있어 첫 타입 지정 함수를 쓰기 전에 설치하거나 설정할 것이 없습니다.
Coddy programming languages illustration

Learn Luau 소개 with Coddy

시작하기