This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Scoptile's profile picture

Battle

Started by Scoptile, 23 July 2015 - 05:48 AM
Scoptile #1
Posted 23 July 2015 - 07:48 AM
Battle
Beta 1.2.2

This is a really simple game where you fight an enemy "AI". ( by AI, I mean it's controlled by random values :P/> )

When you fight the enemy, you will have four main options; attack, raise attack, raise defense, or heal. When you increase your attack stat, or defense stat, it will temporarily increase said stat for the remainder of the fight. The enemy will start out with the same stats as you, so your only advantage is the fact that you aren't controlled by random values. Once you defeat the enemy, you will be able to increase either your maximum health, your base attack, or your base defense. The enemy will also randomly increase one of those stats, too.

The game is in beta, so don't get upset if things aren't perfect. Also, I know the code is messy, and the way I use some features are inefficient, but that's my problem, not yours. This is also the first time I've ever added a save/load system.



pastebin get MbvMiiCU battle

Changelog:
SpoilerBeta 1.2.2
- Removed saving custom game.

Beta 1.2.1
- Removed horrible bug in the custom game.

Beta 1.2
- Added 'Custom Game' option on the menu.
- Reduced time between attacks.
- You can now see what level you're on at the top of the screen when in game.

Please report any bugs you find, and tell me what you think about it :)/>
Edited on 20 August 2015 - 12:14 AM
biggest yikes #2
Posted 26 July 2015 - 03:12 PM
Doesn't Work
Report the topic?
cyanisaac #3
Posted 26 July 2015 - 03:50 PM
If it "doesn't work" then put a disclaimer that it doesn't work and update the darn thing.
Scoptile #4
Posted 28 July 2015 - 01:24 AM
i cant figure out how to edit the title.
Scoptile #5
Posted 28 July 2015 - 01:35 AM
Fixed problems
Edited on 28 July 2015 - 12:37 AM
flaghacker #6
Posted 28 July 2015 - 02:01 AM
i cant figure out how to edit the title.

Click the "full edit" button while editing the original post, you can change the title there.
Lyqyd #7
Posted 28 July 2015 - 02:24 AM
Threads merged. Please stick to one topic per program. Feel free to edit the topic title and first post as necessary.
Scoptile #8
Posted 28 July 2015 - 02:36 AM
Threads merged. Please stick to one topic per program. Feel free to edit the topic title and first post as necessary.
i reported it and asked it to be taken down when i figured out how to fix it. if its not taken down, i can just update it.
LDDestroier #9
Posted 17 August 2015 - 04:38 AM
I just started playing the game. It's….very fun! Very! I liked it a lot! It was always a challenge. You can't really get yourself in such a position where you always win regardless of how stupidly you play.

I just have one complaint, and that's the delay between options is kinda long. Also, the 'custom game' doesn't appear to either work or exist.
Scoptile #10
Posted 19 August 2015 - 02:01 AM
i can change the wait time. the custom game feature was something i planned, but scrapped. i guess i forgot to remove the button. ill change those right away thanks for the feedback!
Edited on 19 August 2015 - 12:02 AM
LDDestroier #11
Posted 19 August 2015 - 08:47 PM
I found that I CAN save custom games if I exit to menu then load game.
Scoptile #12
Posted 20 August 2015 - 02:11 AM
oh i have to fix that.

edit: fixed
Edited on 20 August 2015 - 02:23 AM
jplee #13
Posted 21 August 2015 - 05:24 AM
The game was a nice simple fun, I like it a lot. :)/> Keep up the work!
LDDestroier #14
Posted 21 August 2015 - 06:09 AM
I seriously reccommend adding an option for player-vs-player multiplayer through rednet.
HPWebcamAble #15
Posted 21 August 2015 - 06:33 AM
Awesome game!
Its so simple, yet - addicting…

10 out of 10 would battle again
Scoptile #16
Posted 25 August 2015 - 08:58 PM
I seriously reccommend adding an option for player-vs-player multiplayer through rednet.
Thats a good idea. ill get to work on it. i dont guarantee anything though, because im still in the process of learning it.

Awesome game!
Its so simple, yet - addicting…

10 out of 10 would battle again
Thanks! im glad you like it :D/>