Do you have what it takes to win?
(set:$HP to 100)(set:$Attack to 20)(set:$THP to 100)(set:$Round to 0)
<style> img {max-width:100%; max-height:100%;}
</style>
<img src="https://cdn.pixabay.com/photo/2020/02/10/14/25/samurai-4836642_960_720.jpg"</style>
A basic battle simulator game to test coding
[[start]]Day $Round : Your next battle awaits
(set:$nmeHealth to 50+5*$Round)(set:$nmeAttack to 10+5*$Round)
<style> img {max-width:100%; max-height:100%;}
</style>
<img src="https://cdn.pixabay.com/photo/2016/11/15/07/09/photo-manipulation-1825450_960_720.jpg">
(if:$Round <15)[[Enter Battle]]
(if:$Bitcoin >=50) [[Shop]]
(set:$NMEHealth to 2500)(set:$NMEAttack to 100)
(if:$Round >=15) [[Final Battle]]The alien stares menacingly into your eyes, it is exactly like staring into death "I come with peice" it says aiming its weapon at you:
You have $HP /$THP health and $Attack Attack
<style> img {max-width:100%; max-height:100%;}
</style>
<img src="https://cdn.pixabay.com/photo/2016/07/07/08/18/alien-1502038_960_720.jpg">
Enemy has $nmeHealth HP left
(if:$nmeHealth >=1)+(if:$HP >=0) [[Attack]]
(if:$nmeHealth <1) [[Next Level]]
(if:$HP <=0) [[Graveyard]](set:$nmeHealth to $nmeHealth-$Attack)
(set:$HP to $HP -$nmeAttack)
(goto:"Enter Battle")Congrats! You beat the beast!
<style> img {max-width:100%; max-height:100%;}
</style>
<img src="https://cdn.pixabay.com/photo/2020/02/07/19/05/spaceship-4828098_960_720.jpg">
(set:$Round to $Round+1)
(set:$Bitcoin to $Bitcoin+50*$Round)
[[start]] next round!You have $Bitcoin Bitcoin remaining
Current Health: $HP / $THP
Current Attack: $Attack
<style> img {max-width:100%; max-height:100%;}
</style>
<img src ="https://cdn.pixabay.com/photo/2014/08/20/05/22/big-bang-422305_960_720.jpg">
(if:$Bitcoin >=50)+(if:$HP <=$THP -100)[[Purchase 100 HP for 50 Bitcoin]]
(if:$Bitcoin >=50)[[Purchase 100 Max HP for 50 Bitcoin]]
(if:$Bitcoin >=100) [[Purchase 5 ATK for 100 Bitcoin]]
(if:$Round <=14) [[Enter Battle]]
(if:$Round >=15) [[Final Battle]] (set:$HP to $HP +100)
(set:$Bitcoin to $Bitcoin-50)
(goto: "Shop")(set:$Attack to $Attack +5)
(set:$Bitcoin to $Bitcoin-100)
(goto: "Shop")(set:$THP to $THP +100)
(set:$Bitcoin to $Bitcoin-50)
(goto: "Shop")GAME OVER
The truth is out there! You were unable to cover it up.
<style> img {max-width:100%; max-height:100%;}
</style>
<img src="https://cdn.pixabay.com/photo/2018/05/24/09/39/dove-3426159_960_720.jpg">
You reached Day $Round
You had $Bitcoin Bitcoin
Play Again? [[Page 1]] FINAL BOSS
"It's nothing Personal, Just business"
<style> img {max-width:100%; max-height:100%;}
</style>
<img src="https://cdn.pixabay.com/photo/2020/02/19/16/20/killer-4862601_960_720.jpg">
You have $HP /$THP health left
Enemy has $NMEHealth HP left
(if:$NMEHealth >=1)+(if:$HP >=0) [[ATTACK]]
(if:$NMEHealth <1) [[Victory]]
(if:$HP <=0) [[Graveyard]]
YOU WON!!!
You've cleaned up the corruption and brought peace to the land (for now)...
<style> img {max-width:100%; max-height:100%;}
</style>
<img src="https://cdn.pixabay.com/photo/2016/08/23/14/25/cup-1614530_960_720.png">
You completed all $Round rounds!
You had $Bitcoin Bitcoin spare
$HP Health ($THP Max) and $Attack Attack
Play Again? [[Page 1]] (set:$NMEHealth to $NMEHealth-$Attack)
(set:$HP to $HP -$NMEAttack)
(goto:"Final Battle")