-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.zs
49 lines (32 loc) · 1.94 KB
/
test.zs
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
create startup with name blob.
blob cash is 200000.
blob revenue is 10000.
blob expenses is 15000.
blob product is "some useless OpenAI wrapper".
blob team is 5.
while blob cash greater than 100000,
blob expenses is blob expenses * 2, blob cash is blob cash - blob expenses + blob revenue,
blob shows "Let's grow without caring about revenue, burn it all!".
create venture firm with name daddy.
daddy fund is 100000000. daddy portfolio_size is 3. daddy strategy is "spray and pray".
if daddy strategy different to "spray and pray",
daddy shows "I invest to generate shareholder value".
if daddy strategy equal to "spray and pray" and daddy portfolio_size less than 100000,
daddy shows "I need to invest in more companies!".
blob shows "Please, daddy, I need more money to survive!".
daddy shows "Hire some overpaid FAANG workers first!".
create worker with name enzo. enzo salary is 40000. enzo company is "FAANG". enzo role is "product manager".
enzo shows "I have joined blob company! Let's update Linkedin to 'Building' and 'Ex-FAANG'".
enzo company is "blob".
blob shows "I have hired some FAANG workers, daddy!".
daddy shows "Good job, blob! Now you can have more money!".
blob cash is blob cash + 1000000. daddy fund is daddy fund - 1000000.
daddy portfolio_size is daddy portfolio_size + 1.
daddy shows "Now buy some .ai domain and post on ProductHunt! That's what makes great companies".
blob shows blob cash.
while blob cash greater than 0, blob revenue is (500 - 10) * 10, blob expenses is 1000000,
blob cash is blob cash - blob expenses + blob revenue, daddy shows "Blob is going to die, hire more FAANG workers!!!",
blob shows "I can't, daddy, it is not cool to hire post 2021".
blob shows "I have to shut down the company, daddy".
if blob team greater than 0, blob team is 0, blob cash is 0, blob product is "Nothing usefull",
blob revenue is 0, blob expenses is 0, daddy shows "What? I have never invested in blob. He is crazy for posting that on X".