This is a game where you start to sell cookies and earn money to upgrade your shop and become the richest cookie seller ever!
Nouveautés
Version 1.0
First release
Ce qu’il fait
95 actions-
Dictionary
-
Number
-
Set VariableMoney
-
Number
-
Set VariableLevel
-
Ask for InputWhat will your shops name be?
-
Number
-
Repeat
-
Text
-
Set VariableShop type
-
Text
-
Choose from Menu…
-
Choose from MenuSell coo
-
If
-
Number
-
Set VariableGetmoney
-
If
-
If
-
Number
-
Set VariableGetmoney
-
If
-
If
-
Number
-
Set VariableGetmoney
-
If
-
If
-
Number
-
Set VariableGetmoney
-
If
-
If
-
Number
-
Set VariableGetmoney
-
If
-
If
-
Number
-
Set VariableGetmoney
-
If
-
Calculate
-
Set VariableMoney
-
Choose from MenuUpgrade shop
-
Choose from MenuUpgrade shop
-
Choose from MenuLvl 2: 50$
-
If
-
Show Result
-
If
-
Calculate
-
Set VariableMoney
-
Number
-
Set VariableLevel
-
Show Result
-
Choose from MenuLvl 3: 500$
-
If
-
Show Result
-
If
-
Calculate
-
Set VariableMoney
-
Number
-
Set VariableLevel
-
Choose from MenuLvl 4: 1500$
-
If
-
Show Result
-
If
-
Calculate
-
Set VariableMoney
-
Number
-
Set VariableLevel
-
Choose from MenuLvl 5: 2000$
-
If
-
Show Result
-
If
-
Calculate
-
Set VariableMoney
-
Number
-
Set VariableLevel
-
Choose from MenuCookie shop: 10000$
-
If
-
Show Result
-
If
-
Calculate
-
Set VariableMoney
-
Number
-
Set VariableLevel
-
Text
-
Set VariableShop type
-
Show Result
-
Choose from MenuChoose
-
Choose from MenuContinue playing
-
Choose from MenuQuit
-
Text
-
Show Result
-
Stop This Shortcut
-
Choose from MenuQuit
-
Text
-
Show Result
-
Stop This Shortcut
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#define color violet
@Money = 0
@Level = 1
prompt("What will your shops name be?")
const Number = 10000
repeat _ for Number {
@ShopType = "Lemonade stand"
menu {
item "Sell cookies":
if @Level == 1 {
@Getmoney = 5
} else {
if @Level == 2 {
@Getmoney = 10
} else {
if @Level == 3 {
@Getmoney = 20
} else {
if @Level == 4 {
@Getmoney = 30
} else {
if @Level == 5 {
@Getmoney = 50
} else {
if @ShopType == 6 {
@Getmoney = 100
} else {
}
}
}
}
}
}
@Money = @Money + @Getmoney
item "Upgrade shop":
menu "Upgrade shop" {
item "Lvl 2: 50$":
if @Money < 50 {
show("You do not have enough money")
} else {
@Money = @Money - 50
@Level = 2
show("You bought it!")
}
item "Lvl 3: 500$":
if @Money < 500 {
show("You do not have enough money to buy")
} else {
@Money = @Money - 500
@Level = 3
}
item "Lvl 4: 1500$":
if @Money < 1500 {
show("You do not have enough money to buy")
} else {
@Money = @Money - 1500
@Level = 4
}
item "Lvl 5: 2000$":
if @Money < 2000 {
show("You do not have enough money to buy")
} else {
@Money = 2000 - @Money
@Level = 5
}
item "Cookie shop: 10000$":
if @Money < 10000 {
show("You do not have enough money to buy")
} else {
@Money = 10000 - @Money
@Level = 6
@ShopType = "Cookie shop"
show("Congratulations you have finished Galaxy builder the demo version! You can keep playing but there is nothing left to complete!")
menu "Choose" {
item "Continue playing":
item "Quit":
show()
stop()
}
}
}
item "Quit":
show()
stop()
}
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de gooey321
Ça pourrait aussi te plaire
Publicité