← Projects

Entry check

Build a reusable access decision and readable response. Preview: visitors exactly at the requirement are accepted; visitors below it are declined.

Runs here · Luau

Loading project… · Milestone 1 of 2

Check an inclusive boundary

Implement canEnter(level, required). Return true when level >= required and false otherwise. Keep return canEnter.

Acceptance criteria

  • Implement canEnter(level, required). Return true when level >= required and false otherwise. Keep return canEnter.
  • Handle the visible inputs and additional boundary cases.
Project milestones
  1. Available to preview
  2. Available to preview
Prerequisites
Optional extension

Add a separate hasPass parameter after practising or. State the revised rule before implementing it.

Project notes and references

Educational example. Review and redesign it for the requirements of a real project.

Your learning source is private by default. Completing this project does not grant a professional or staff role.

Luau syntax ↗

Luau standard library ↗

Luau keyword highlighting · Ctrl/⌘ + Enter: Run · Esc: leave editor

Run experiment shows actual behavior. Check milestone uses the acceptance criteria and records trusted progress.

Output

Your output will appear here.

Visible examples

Below · { 4, 5 } → false

Equal · { 5, 5 } → true

Above · { 6, 5 } → true

Sharing is an explicit choice in your portfolio editor. Label exported work “Learning project”; existing publication rules apply.