This is a game where you start to sell cookies and earn money to upgrade your shop and become the richest cookie seller ever!
Novedades
Versión 1.0
First release
Qué hace
95 acciones-
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
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#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()
}
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de gooey321
También te puede gustar
Publicidad