Module 13 · In Studio · challenge 3 of 3 in this lesson

challenges/work/drone_packet.luau packs one drone in 10 bytes and forty in 253

A test in Studio grades it and prints a pass code.

Open

Level 3, Professional

Challenge

Write the packer, the reader and the interpolation in the game repo's challenges/work/drone_packet.luau, then run the network-budget challenge through the Course Runner.

Start from
The game at milestone m14 (download)
Grade it
In Studio, press Play, then run game.ServerScriptService.RunGameTests:Invoke("network-budget") in the server command bar. Copy the pass code from Output.

Done means

  • challenges/work/drone_packet.luau packs one drone in 10 bytes and forty in 253
  • unpack returns every drone within half a step, with the sequence number, and clamps out-of-range values to the edge
  • lerpYaw and interpolate pass the same cases as the Run cell
  • The network-budget challenge prints TEST PASS for all fourteen checks

The Course Runner prints this code when the test passes.