Kos Doors — Vue

Route, guard, fetch, animate and store the Vue app of Bu Rukmi's boarding house in Gang Cendana. 16 levels, played right in the browser with nothing to install.

What the levels ask

  1. Ms. Wulan has a parcel for room 3. The kos app has one Kamar page for all six doors, and the number is read from the address. Fill in the room route's path so a tap on door 3 opens the Kamar 3 page.
  2. Mrs. Rukmi opens room 2's bill. The bill is a child route of the room page: its address is /kamar/2/tagihan, and it shows inside the room page, under its title. Fill in the child's path and the place where the room page shows it.
  3. Bagas comes to see Mr. Yudi in room 4. He opens the report page, presses Lapor, and is taken to room 4. When he leaves and presses Back, he must land at the gate, not on the guest book again. Pick how masuk() moves.
  4. The neighbourhood head counts the tenants door by door: room 1, then Sebelah to room 2, then room 3. The room page loads the tenant's name from Mrs. Rukmi's laptop. Pick how muat is called so each room shows its own tenant.
  5. At 22.30 Mr. Dodi comes to fix room 5's pump. The kos rule: night guests report first. The beforeEach guard checks routes marked meta.tamu. Pick what the guard returns so Mr. Dodi is taken to the report table, and after reporting can go in.
  6. Mrs. Rukmi's nephew made a new rule: every guest reports first, whatever page they open. Rara comes to bring cakes to room 6. Fill in the guard's condition so the app opens the report table, and after Rara reports she can go to the gate and to room 6.
  7. Mrs. Rukmi's laptop answers slowly (almost a second), and tonight its first request fails because the laptop restarts. The tenants' board must say it is loading, show the failure with Coba lagi, and never say "Kos masih kosong." while loading. Fill in the first line of the v-if chain.
  8. The neighbourhood head taps room 1, then before its name appears he has already moved to room 2. The laptop answers room 2 quickly, but room 1's answer arrives later. Pick the line that cancels the old request so room 2 keeps showing Ms. Lusi.
  9. Mrs. Yanti brings boxed rice to room 1, then room 2. The pages change with a slide: the old page leaves first, then the new one arrives, from room 1 to room 2 as well. Fill in the <Transition> mode and the component's key.
  10. Mrs. Rukmi taps Belum bayar dulu on the dues board. The names must slide to their new places (the urut-move class), not be rewritten where they are. Pick each row's key.
  11. Mr. Seno pays this month's rent and Mrs. Rukmi taps Kamar 3 bayar. The kas store records it, and the Belum bayar board must drop from 4 to 3. Pick how Kas.vue takes belum and bayar from the store.
  12. Mrs. Rukmi records room 3's payment, then the power in the gang flickers and her phone reloads the app. The store reads its starting state from localStorage. Pick the line in main.js that saves the store so after the reload the board still says Belum bayar: 3.

And more, 16 levels in all.