Skip to content

Instantly share code, notes, and snippets.

@masak

masak/elevator Secret

Last active December 18, 2015 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masak/3ca7e6d6b06c325bdf03 to your computer and use it in GitHub Desktop.
Save masak/3ca7e6d6b06c325bdf03 to your computer and use it in GitHub Desktop.
This elevator obviously doesn't work
$ perl6 elevator-scaffold
06:39:55: Person H pushes the 'come to floor 3' button.
06:40:05: Person H gets tired of waiting and takes the stairs.
06:42:01: Person E pushes the 'come to floor 2' button.
06:42:11: Person E gets tired of waiting and takes the stairs.
06:57:30: Person F pushes the 'come to floor 2' button.
06:57:40: Person F gets tired of waiting and takes the stairs.
07:32:47: Person P pushes the 'come to floor 5' button.
07:32:57: Person P gets tired of waiting and takes the stairs.
07:35:02: Person W pushes the 'come to floor 6' button.
07:35:12: Person W gets tired of waiting and takes the stairs.
07:42:05: Person M pushes the 'come to floor 4' button.
07:42:15: Person M gets tired of waiting and takes the stairs.
07:45:08: Person X pushes the 'come to floor 6' button.
07:45:18: Person X gets tired of waiting and takes the stairs.
07:49:12: Person J pushes the 'come to floor 3' button.
07:49:22: Person J gets tired of waiting and takes the stairs.
08:04:10: Person N pushes the 'come to floor 4' button.
08:04:20: Person N gets tired of waiting and takes the stairs.
08:04:30: Person V pushes the 'come to floor 6' button.
08:04:40: Person V gets tired of waiting and takes the stairs.
08:05:54: Person K pushes the 'come to floor 4' button.
08:06:04: Person K gets tired of waiting and takes the stairs.
08:10:41: Person G pushes the 'come to floor 3' button.
08:10:51: Person G gets tired of waiting and takes the stairs.
08:16:20: Person T pushes the 'come to floor 5' button.
08:16:30: Person T gets tired of waiting and takes the stairs.
08:30:53: Person R pushes the 'come to floor 5' button.
08:31:03: Person R gets tired of waiting and takes the stairs.
08:35:10: Person O pushes the 'come to floor 4' button.
08:35:20: Person O gets tired of waiting and takes the stairs.
08:54:50: Person L pushes the 'come to floor 4' button.
08:55:00: Person L gets tired of waiting and takes the stairs.
08:58:53: Person A pushes the 'come to floor 2' button.
08:59:03: Person A gets tired of waiting and takes the stairs.
09:06:43: Person U pushes the 'come to floor 6' button.
09:06:53: Person U gets tired of waiting and takes the stairs.
09:16:33: Person I pushes the 'come to floor 3' button.
09:16:43: Person I gets tired of waiting and takes the stairs.
09:25:51: Person D pushes the 'come to floor 2' button.
09:26:01: Person D gets tired of waiting and takes the stairs.
09:30:29: Person S pushes the 'come to floor 5' button.
09:30:39: Person S gets tired of waiting and takes the stairs.
09:34:31: Person C pushes the 'come to floor 2' button.
09:34:41: Person C gets tired of waiting and takes the stairs.
10:15:25: Person Q pushes the 'come to floor 5' button.
10:15:35: Person Q gets tired of waiting and takes the stairs.
10:33:29: Person B pushes the 'come to floor 2' button.
10:33:39: Person B gets tired of waiting and takes the stairs.
15:56:45: Person A pushes the 'come to floor 0' button.
15:56:55: Person A gets tired of waiting and takes the stairs.
16:22:18: Person P pushes the 'come to floor 0' button.
16:22:28: Person P gets tired of waiting and takes the stairs.
16:39:59: Person M pushes the 'come to floor 0' button.
16:40:09: Person M gets tired of waiting and takes the stairs.
16:40:10: Person D pushes the 'come to floor 0' button.
16:40:20: Person D gets tired of waiting and takes the stairs.
16:45:32: Person Q pushes the 'come to floor 0' button.
16:45:42: Person Q gets tired of waiting and takes the stairs.
16:46:23: Person V pushes the 'come to floor 0' button.
16:46:33: Person V gets tired of waiting and takes the stairs.
16:50:43: Person K pushes the 'come to floor 0' button.
16:50:53: Person K gets tired of waiting and takes the stairs.
16:54:31: Person W pushes the 'come to floor 0' button.
16:54:41: Person W gets tired of waiting and takes the stairs.
16:58:07: Person S pushes the 'come to floor 0' button.
16:58:17: Person S gets tired of waiting and takes the stairs.
17:01:29: Person G pushes the 'come to floor 0' button.
17:01:39: Person G gets tired of waiting and takes the stairs.
17:03:22: Person O pushes the 'come to floor 0' button.
17:03:32: Person O gets tired of waiting and takes the stairs.
17:04:08: Person X pushes the 'come to floor 0' button.
17:04:18: Person X gets tired of waiting and takes the stairs.
17:17:48: Person C pushes the 'come to floor 0' button.
17:17:58: Person C gets tired of waiting and takes the stairs.
17:23:46: Person T pushes the 'come to floor 0' button.
17:23:56: Person T gets tired of waiting and takes the stairs.
17:30:14: Person F pushes the 'come to floor 0' button.
17:30:24: Person F gets tired of waiting and takes the stairs.
17:36:50: Person J pushes the 'come to floor 0' button.
17:37:00: Person J gets tired of waiting and takes the stairs.
17:41:18: Person H pushes the 'come to floor 0' button.
17:41:28: Person H gets tired of waiting and takes the stairs.
17:50:07: Person B pushes the 'come to floor 0' button.
17:50:17: Person B gets tired of waiting and takes the stairs.
17:54:03: Person L pushes the 'come to floor 0' button.
17:54:13: Person L gets tired of waiting and takes the stairs.
17:57:50: Person N pushes the 'come to floor 0' button.
17:58:00: Person N gets tired of waiting and takes the stairs.
18:08:17: Person I pushes the 'come to floor 0' button.
18:08:27: Person I gets tired of waiting and takes the stairs.
18:13:01: Person U pushes the 'come to floor 0' button.
18:13:11: Person U gets tired of waiting and takes the stairs.
18:25:44: Person R pushes the 'come to floor 0' button.
18:25:54: Person R gets tired of waiting and takes the stairs.
18:26:49: Person E pushes the 'come to floor 0' button.
18:26:59: Person E gets tired of waiting and takes the stairs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment