๐ŸŽฎ Steemit City Update: FIGHT!

in hive-151113 โ€ขย  last yearย  (edited)

๐Ÿ‘‡ Sourceimage.png
Separator-code.png

My brain is fried!

I've been able to put in some more time on our Zombie Apocalypse game and since every player has been waiting for a fight, I coded in some fights. This won't have applied to everybody yet and there isn't a huge amount of variety in the language but @moecki's game has been updated which saw a comfortable victory.

image.png
Separator-code.png

This now means that any games which encounter a zombie directly outside their door at the beginning can have their battle and you'd be extremely unlucky to lose. And if you do lose, you won't really lose because I haven't coded in player deaths yet.

After completing this task, I returned to the game logic and this is where my brain has temporarily stopped working for me.

I'd previously written some logic for when the player initially steps out into the corridor to check for zombies but when I did this, I didn't code it in such a way that I could reuse it for other scenarios. In my game, I attack a zombie to the left and after this fight, my character wants to check the corridor again for other zombies (I'm unlucky and there's another one waiting for me). This was when I realised that I should've made my previous code reusable so I'm in the process of making it so. Due to the dynamic nature of the zombie locations and my desire to make them move towards you once they've seen you, this is proving complex for my brain.

I've just realised that the options for @moecki's game are wrong.

This is so disheartening.

EDIT: The options aren't wrong. I just need a break!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order: ย 
ย  ยท ย last yearย 

Am I still locked in my room? Facing becoming a starved zombie? ๐Ÿ˜ข
Though I love your gameโ€ฆ ๐Ÿ˜‚
Have a nice break!

ย  ยท ย last yearย 

Ha ha. You were locked in your room but your room got sucked into a blackhole and is no longer in this realm of existence ๐Ÿ™‚

You should be able to start a new game though by replying to the original post again.

I failed to have a break ๐Ÿคฃ Instead, I ploughed on and overcame the confusion that I created for myself ๐Ÿฅณ

ย  ยท ย last yearย 

your room got sucked into a blackhole

I understood... but still hoped there were a little hope...

You should be able to start a new game though

Immediately... if it helps you (and me).

I ploughed on and overcame the confusion that I created for myself

Ouch, how I know this situation... ๐Ÿ˜‚ Beware of an burn-out... ๐Ÿ˜‰

ย  ยท ย last yearย 

It's fun when things work and the coding goes well. I hope that I've overcome the worst of it now and it's just a case of writing the scenarios as players reach each situation. So I'll code it as people play which means that your game will definitely be helpful ๐Ÿ™‚

ย  ยท ย last yearย 

Unfortunately I don't know anything about zombies (I don't watch series like "Walking Death" or something like that...), otherwise I would like to help you with the text. Hm. Thinking... How about a freaky sheep? I'm sure I'll come up with something... ๐Ÿ˜‚

ย  ยท ย last yearย 

Ha ha. Me neither. I think "Shaun of the Dead" is the only zombie movie I've ever seen and I suspect zombie fans wouldn't say that's a zombie move ๐Ÿ˜†

I had a dream with 3 sheep in it a couple of nights ago. That was one crazy dream. A bunch of do-good church goers accidently set fire to all of my clothes with their BBQ. They were trying to cheer me up, you see. Because my red timber shed had collapsed.

Weird. I still have no idea where the sheep disappeared to.

ย  ยท ย last yearย 

Well, I guess the sheep disappeared into my garden. But they cannot had been in church - they are evil... ;-)

ย  ยท ย last yearย 

Well, I think that the sheep disappeared when the Church group turned up. Maybe they thought that I was upset by the loss of my sheep - I can only hope that if I think about it enough, my subconscious will be kind enough to let me finish my dream and help me to locate my sheep.

ย  ยท ย last yearย 

Soll ich dir zu Hilfe eilen...? Vielleicht bist du ja auf meiner Etage in Zimmer 21, 22 oder 23? Schau doch mal auf deine Zimmernummer ;-D

ย  ยท ย last yearย 

Das ist aber lieb von dir. Moment. ร–h... Warte. Ah...

Ich fang' einfach nochmal von Vorn an... :-))
Damit erhalte ich bestimmt den ersten Preis als "Bug-Finder"... ๐Ÿ˜

ย  ยท ย last yearย 

Oh, so I got to do the premiere fight.... Maybe it's because of "my" strong character ;-)

I saw that my health had reduced (due to the minimal attack of the zombie). How about , if the strength increases through each fight depending on the strength of the opponent?

Otherwise, I will now weigh the options ;-)

ย  ยท ย last yearย 

How about , if the strength increases through each fight depending on the strength of the opponent?

๐Ÿ˜Š funnily enough, That was my plan before putting your reply live but I forgot! Iโ€™ve implemented it so that every win results in one of your attributes increasing by 1 point (up to the current maximum of 20).

Iโ€™m pleased that you shared the idea because it means itโ€™s a good one ๐Ÿ˜Š Your character will get stronger when you win your next fight ๐Ÿ‘๐Ÿผ

Iโ€™ve got plans on how to increase health as you go along but Iโ€™ve not reached that point yet.

ย  ยท ย last yearย 

Greetings friend @the-gorilla

Is this game already active?

ย  ยท ย last yearย 

Hola Amigo,

I'm testing it at the moment and using the people that are playing to help me to determine which code to write next.

If you'd like to join the fun and play as another tester, I'd appreciate the help. If you reply to this post with the comment {Play} (including the curly brackets) then your game will begin ๐Ÿ‘