Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
export const ACTIVITIES = [
{ emoji: "๐Ÿž๏ธ", name: "goes to the park" },
{ emoji: "๐ŸŽน", name: "plays the piano" },
{ emoji: "๐ŸŽข", name: "rides a rollercoaster" },
{ emoji: "๐Ÿช", name: "flies a kite" },
{ emoji: "๐Ÿฐ", name: "bakes a cake" },
{ emoji: "๐ŸŠ", name: "learns to swim" },
{ emoji: "๐ŸŒฑ", name: "plants a garden" },
{ emoji: "๐Ÿ•น๏ธ", name: "plays video games" },
{ emoji: "๐Ÿก", name: "builds a treehouse" },
{ emoji: "๐Ÿ—บ๏ธ", name: "goes on a treasure hunt" },
{ emoji: "๐ŸŽช", name: "performs in a circus" },
{ emoji: "๐Ÿ•ณ๏ธ", name: "explores a cave" },
{ emoji: "โฐ", name: "invents a time machine" },
{ emoji: "๐ŸŽธ", name: "starts a rock band" },
{ emoji: "๐Ÿงท", name: "starts a punk rock band" },
{ emoji: "๐Ÿฆธ", name: "becomes a superhero" },
{ emoji: "๐Ÿฝ๏ธ", name: "opens a restaurant" },
{ emoji: "๐Ÿš€", name: "travels to space" },
{ emoji: "๐Ÿ•ต๏ธ", name: "solves a mystery" },
{ emoji: "๐Ÿ", name: "wins a sports car race" },
{ emoji: "๐Ÿ‘ฝ", name: "befriends aliens who visit planet earth" },
{ emoji: "๐Ÿฆฎ", name: "rescues a friend" },
{ emoji: "๐Ÿ๏ธ", name: "discovers a new island" },
{ emoji: "๐ŸŽจ", name: "paints a magical mural" },
{ emoji: "๐Ÿ‰", name: "befriends a dragon" },
{ emoji: "๐ŸŒˆ", name: "slides down a rainbow" },
{ emoji: "๐Ÿงš", name: "helps a fairy build a home" },
{ emoji: "๐ŸŒ‹", name: "climbs a volcano" },
{ emoji: "๐Ÿฆ„", name: "rides a unicorn" },
{ emoji: "๐ŸŽˆ", name: "floats in a hot air balloon" },
{ emoji: "๐Ÿงœโ€โ™€๏ธ", name: "swims with mermaids" },
{ emoji: "๐ŸŒ ", name: "catches falling stars" },
{ emoji: "๐Ÿง™โ€โ™‚๏ธ", name: "learns magic spells" },
{ emoji: "๐Ÿฆ•", name: "travels back to dinosaur times" },
{ emoji: "๐ŸŽญ", name: "puts on a puppet show" },
{ emoji: "๐ŸŒป", name: "grows a giant sunflower" },
{ emoji: "๐Ÿฐ", name: "builds a sandcastle city" },
{ emoji: "๐Ÿงธ", name: "plays with some toys together with friends" },
{ emoji: "๐Ÿฆœ", name: "teaches friends to sing" },
{ emoji: "๐ŸŽก", name: "enjoys an amusement park" },
{ emoji: "๐Ÿš‚", name: "drives a magical train" },
{ emoji: "๐Ÿงฉ", name: "solves a giant puzzle" },
{ emoji: "๐ŸŒ™", name: "visits the moon for a picnic" },
{ emoji: "๐ŸŽ ", name: "rides a carousel" },
{ emoji: "๐ŸŒณ", name: "relaxes in the shade of trees" },
{ emoji: "๐ŸŽฉ", name: "performs magic tricks" },
{ emoji: "๐ŸŒŠ", name: "surfs the bigs waves" },
{ emoji: "๐Ÿงต", name: "sews a patchwork quilt of dreams" },
{ emoji: "๐ŸŽป", name: "plays music for forest creatures" },
{ emoji: "๐ŸงŠ", name: "builds an igloo" },
{ emoji: "๐ŸŒช๏ธ", name: "tames a friendly tornado" },
{ emoji: "๐Ÿซ–", name: "hosts a tea party for friends" },
{ emoji: "๐Ÿ•ฐ๏ธ", name: "fixes the town's broken clocks" },
{ emoji: "๐ŸŒˆ", name: "mixes colors to create new rainbows" },
{ emoji: "๐Ÿ“š", name: "attends school with friends" },
{ emoji: "๐Ÿดโ€โ˜ ๏ธ", name: "plays pirates with some friends" },
{ emoji: "๐ŸŽˆ", name: "delivers messages by balloon mail" },
{ emoji: "๐Ÿงถ", name: "knits sweaters for cold friends" },
{ emoji: "๐ŸŒŸ", name: "polishes the stars to make them shine" },
{ emoji: "๐ŸŽฌ", name: "directs a movie starring lots of friends" },
{ emoji: "๐Ÿš™", name: "drives a car around town" },
{ emoji: "๐ŸšŒ", name: "rides the bus with friends" },
{ emoji: "๐ŸŽธ", name: "enjoys a rock concert with friends" },
{ emoji: "๐Ÿฉบ", name: "visits the doctor" },
];
export const getRandomActivity = () => {
return ACTIVITIES[Math.floor(Math.random() * ACTIVITIES.length)];
};
export const getSortedActivities = () => {
return ACTIVITIES.sort((a, b) => a.name.localeCompare(b.name));
};
August 4, 2024