Practice

Use what you have learned.

Try a short review, repair one mistake, or choose a topic. Time estimates help you choose; they are not timers.

Complete a concept to receive a personal review recommendation. You can browse topics and their prerequisites now.

Sign in to use your saved progress for personal review. These activities remain available to browse.

Practice activities

60 available activities. Check the earlier idea before choosing an unfamiliar topic.

Run your first message: practice

Main concept: printing, output, strings

3 minutes estimated · Runs here

Requires the earlier idea: Run your first message

Level: apply a familiar concept to a changed requirement.

Open practice

Give the lobby a greeting: practice

Main concept: printing, output, strings

3 minutes estimated · Runs here

Requires the earlier idea: Give the lobby a greeting

Level: apply a familiar concept to a changed requirement.

Open practice

Two messages, in order: practice

Main concept: printing, strings, sequence, output-order

3 minutes estimated · Runs here

Requires the earlier idea: Two messages, in order

Level: apply a familiar concept to a changed requirement.

Open practice

Fix one missing quotation mark: practice

Main concept: debugging

3 minutes estimated · Runs here

Requires the earlier idea: Fix one missing quotation mark

Level: apply a familiar concept to a changed requirement.

Open practice

Print a number: practice

Main concept: numbers, printing

3 minutes estimated · Runs here

Requires the earlier idea: Print a number

Level: apply a familiar concept to a changed requirement.

Open practice

Let code do the addition: practice

Main concept: addition, numbers

3 minutes estimated · Runs here

Requires the earlier idea: Let code do the addition

Level: apply a familiar concept to a changed requirement.

Open practice

Give a value a name: practice

Main concept: local-variables, variable-reading, assignment

4 minutes estimated · Runs here

Requires the earlier idea: Give a value a name

Level: apply a familiar concept to a changed requirement.

Open practice

Build your round summary: practice

Main concept: printing, sequence, numbers, addition, local-variables, variable-reading, assignment, state-updates

8 minutes estimated · Runs here

Requires the earlier idea: Build your round summary

Level: apply a familiar concept to a changed requirement.

Open practice

Write a message yourself: practice

Main concept: printing, execution-order

4 minutes estimated · Runs here

Requires the earlier idea: Write a message yourself

Level: apply a familiar concept to a changed requirement.

Open practice

Read your stored score: practice

Main concept: local-variables, variable-reading

3 minutes estimated · Runs here

Requires the earlier idea: Read your stored score

Level: apply a familiar concept to a changed requirement.

Open practice

A name versus its value: practice

Main concept: variable-reading, strings

3 minutes estimated · Runs here

Requires the earlier idea: A name versus its value

Level: apply a familiar concept to a changed requirement.

Open practice

Update the score: practice

Main concept: assignment, state-updates

3 minutes estimated · Runs here

Requires the earlier idea: Update the score

Level: apply a familiar concept to a changed requirement.

Open practice

Show before and after: practice

Main concept: execution-order, state-updates

3 minutes estimated · Runs here

Requires the earlier idea: Show before and after

Level: apply a familiar concept to a changed requirement.

Open practice

Build a small score update: practice

Main concept: local-variables, state-updates, execution-order

5 minutes estimated · Runs here

Requires the earlier idea: Build a small score update

Level: apply a familiar concept to a changed requirement.

Open practice

Try a different round reward: practice

Main concept: local-variables, variable-reading, assignment, state-updates

3 minutes estimated · Runs here

Requires the earlier idea: Try a different round reward

Level: apply a familiar concept to a changed requirement.

Open practice

Which message comes first?: practice

Main concept: execution-order

4 minutes estimated · Runs here

Requires the earlier idea: Which message comes first?

Level: apply a familiar concept to a changed requirement.

Open practice

Put the announcement in order: practice

Main concept: execution-order

3 minutes estimated · Runs here

Requires the earlier idea: Put the announcement in order

Level: apply a familiar concept to a changed requirement.

Open practice

Digits can be text: practice

Main concept: strings, numbers

3 minutes estimated · Runs here

Requires the earlier idea: Digits can be text

Level: apply a familiar concept to a changed requirement.

Open practice

Calculate a score total: practice

Main concept: addition

5 minutes estimated · Runs here

Requires the earlier idea: Calculate a score total

Level: apply a familiar concept to a changed requirement.

Open practice

Repair one clear mistake: practice

Main concept: variable-reading, debugging

3 minutes estimated · Runs here

Requires the earlier idea: Repair one clear mistake

Level: apply a familiar concept to a changed requirement.

Open practice

Yes or no values: practice

Main concept: booleans

4 minutes estimated · Runs here

Requires the earlier idea: Yes or no values

Level: apply a familiar concept to a changed requirement.

Open practice

Compare two values: practice

Main concept: comparison

4 minutes estimated · Runs here

Requires the earlier idea: Compare two values

Level: apply a familiar concept to a changed requirement.

Open practice

Compare a number with a boundary: practice

Main concept: comparison, boundaries

8 minutes estimated · Runs here

Requires the earlier idea: Compare a number with a boundary

Level: apply a familiar concept to a changed requirement.

Open practice

Make one decision: practice

Main concept: if-then

4 minutes estimated · Runs here

Requires the earlier idea: Make one decision

Level: apply a familiar concept to a changed requirement.

Open practice

Choose between two messages: practice

Main concept: if-else

4 minutes estimated · Runs here

Requires the earlier idea: Choose between two messages

Level: apply a familiar concept to a changed requirement.

Open practice

Build an entry check: practice

Main concept: if-else, boundaries

4 minutes estimated · Runs here

Requires the earlier idea: Build an entry check

Level: apply a familiar concept to a changed requirement.

Open practice

Choose the right entry message: practice

Main concept: if-elseif-else

9 minutes estimated · Runs here

Requires the earlier idea: Choose the right entry message

Level: apply a familiar concept to a changed requirement.

Open practice

Run the same instructions again: practice

Main concept: functions

4 minutes estimated · Runs here

Requires the earlier idea: Run the same instructions again

Level: apply a familiar concept to a changed requirement.

Open practice

Pass information in: practice

Main concept: parameters

4 minutes estimated · Runs here

Requires the earlier idea: Pass information in

Level: apply a familiar concept to a changed requirement.

Open practice

Give a value back to a caller: practice

Main concept: return-values

4 minutes estimated · Runs here

Requires the earlier idea: Give a value back to a caller

Level: apply a familiar concept to a changed requirement.

Open practice

Printing versus returning: practice

Main concept: return-values, functions

4 minutes estimated · Runs here

Requires the earlier idea: Printing versus returning

Level: apply a familiar concept to a changed requirement.

Open practice

Test several inputs: practice

Main concept: functions, parameters

9 minutes estimated · Runs here

Requires the earlier idea: Test several inputs

Level: apply a familiar concept to a changed requirement.

Open practice

Reuse a round reward calculation: practice

Main concept: functions, parameters, return-values

9 minutes estimated · Runs here

Requires the earlier idea: Reuse a round reward calculation

Level: apply a familiar concept to a changed requirement.

Open practice

Return a usable price: practice

Main concept: return-values, early-return

9 minutes estimated · Runs here

Requires the earlier idea: Return a usable price

Level: apply a familiar concept to a changed requirement.

Open practice

Allow either condition: practice

Main concept: or

3 minutes estimated · Runs here

Requires the earlier idea: Allow either condition

Level: apply a familiar concept to a changed requirement.

Open practice

Require both conditions: practice

Main concept: and

3 minutes estimated · Runs here

Requires the earlier idea: Require both conditions

Level: apply a familiar concept to a changed requirement.

Open practice

Reverse a yes or no value: practice

Main concept: not

3 minutes estimated · Runs here

Requires the earlier idea: Reverse a yes or no value

Level: apply a familiar concept to a changed requirement.

Open practice

Who can enter? Reuse your rule: practice

Main concept: or, and, not, boundaries

11 minutes estimated · Runs here

Requires the earlier idea: Who can enter? Reuse your rule

Level: apply a familiar concept to a changed requirement.

Open practice

Keep deliberate false settings: practice

Main concept: truthiness, nil, defaults

9 minutes estimated · Runs here

Requires the earlier idea: Keep deliberate false settings

Level: apply a familiar concept to a changed requirement.

Open practice

Reuse one price rule: practice

Main concept: composition, reuse

10 minutes estimated · Runs here

Requires the earlier idea: Reuse one price rule

Level: apply a familiar concept to a changed requirement.

Open practice

Join a value into a label: practice

Main concept: numbers, strings, concatenation

7 minutes estimated · Runs here

Requires the earlier idea: Join a value into a label

Level: apply a familiar concept to a changed requirement.

Open practice

Keep several values together: practice

Main concept: tables, arrays, indexing

3 minutes estimated · Runs here

Requires the earlier idea: Keep several values together

Level: apply a familiar concept to a changed requirement.

Open practice

Read a named table entry: practice

Main concept: dictionaries

3 minutes estimated · Runs here

Requires the earlier idea: Read a named table entry

Level: apply a familiar concept to a changed requirement.

Open practice

Update one inventory entry: practice

Main concept: table-updates

3 minutes estimated · Runs here

Requires the earlier idea: Update one inventory entry

Level: apply a familiar concept to a changed requirement.

Open practice

A missing entry has no value: practice

Main concept: nil

3 minutes estimated · Runs here

Requires the earlier idea: A missing entry has no value

Level: apply a familiar concept to a changed requirement.

Open practice

Read the inventory slots: practice

Main concept: tables, arrays, indexing

9 minutes estimated · Runs here

Requires the earlier idea: Read the inventory slots

Level: apply a familiar concept to a changed requirement.

Open practice

Describe an item with named fields: practice

Main concept: dictionaries, field-access

9 minutes estimated · Runs here

Requires the earlier idea: Describe an item with named fields

Level: apply a familiar concept to a changed requirement.

Open practice

Stock the prize display: practice

Main concept: table-insert, table-remove, updates

11 minutes estimated · Runs here

Requires the earlier idea: Stock the prize display

Level: apply a familiar concept to a changed requirement.

Open practice

Copy a nested loadout safely: practice

Main concept: table-identity, references, nested-tables

12 minutes estimated · Runs here

Requires the earlier idea: Copy a nested loadout safely

Level: apply a familiar concept to a changed requirement.

Open practice

Repeat a known instruction: practice

Main concept: numeric-for

3 minutes estimated · Runs here

Requires the earlier idea: Repeat a known instruction

Level: apply a familiar concept to a changed requirement.

Open practice

Process a whole round: practice

Main concept: numeric-for, accumulators

10 minutes estimated · Runs here

Requires the earlier idea: Process a whole round

Level: apply a familiar concept to a changed requirement.

Open practice

Total the inventory quantities: practice

Main concept: iteration, ipairs, pairs

10 minutes estimated · Runs here

Requires the earlier idea: Total the inventory quantities

Level: apply a familiar concept to a changed requirement.

Open practice

Charge a lamp without getting stuck: practice

Main concept: while, repeat, termination

11 minutes estimated · Runs here

Requires the earlier idea: Charge a lamp without getting stuck

Level: apply a familiar concept to a changed requirement.

Open practice

Choose unfinished objectives: practice

Main concept: loops-and-conditions, filtering

11 minutes estimated · Runs here

Requires the earlier idea: Choose unfinished objectives

Level: apply a familiar concept to a changed requirement.

Open practice

Read the first useful error: practice

Main concept: errors, tracing

10 minutes estimated · Runs here

Requires the earlier idea: Read the first useful error

Level: apply a familiar concept to a changed requirement.

Open practice

Repair a nearly working entry rule: practice

Main concept: logic-errors, test-design

11 minutes estimated · Runs here

Requires the earlier idea: Repair a nearly working entry rule

Level: apply a familiar concept to a changed requirement.

Open practice

Tell false from missing: practice

Main concept: booleans, nil, types

8 minutes estimated · Runs here

Requires the earlier idea: Tell false from missing

Level: apply a familiar concept to a changed requirement.

Open practice

Repair an incomplete quest tracker: practice

Main concept: missing-data, guards, validation

12 minutes estimated · Runs here

Requires the earlier idea: Repair an incomplete quest tracker

Level: apply a familiar concept to a changed requirement.

Open practice

Describe and refine typed data: practice

Main concept: types, refinement

12 minutes estimated · Runs here

Requires the earlier idea: Describe and refine typed data

Level: apply a familiar concept to a changed requirement.

Open practice

Work on a project · Continue learning