RE: 🎮 Steemit City: Zombie Apocalypse: Level 1 - The Apartments (👤 @chriddi)

You are viewing a single comment's thread from:

🎮 Steemit City: Zombie Apocalypse: Level 1 - The Apartments (👤 @chriddi)

in hive-142124 •  last year 

Thanks - it's been very frustrating but I've worked out what it was.

I introduced a change yesterday which meant I could store a player's health to 1 decimal place. Meaning that a character can lose a little bit of health with each action (e.g. -0.2 for looking around an apartment) without it really damaging the player. Unfortunately, I updated the character display incorrectly which meant that no image was loaded (although the character was created correctly in the background).

I'd also introduced a reply to another scenario which had nested "for" loops but annoyingly, I'd used the same counter index ($i) on both and it all fell apart horribly.

So I added some code to delete an individual game which all worked fine, but when I went to "update the master game" with it, I forgot to json_encode it and also didn't encrypt it. Which killed everything.

So many schoolboy errors made by somebody who doesn't get enough sleep 😴

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:  

Yes, sleep should not be underestimated.
I know that too. I often think: Oh, I can still do this one thing quickly ... and usually it ends up either completely unexpected or it takes much longer.
Lately I've been managing to get better :-)

🙂 I find it impossible to stop when something's not quite finished. I thought I'd finished writing the "search for weapons" code so put it into test. Then realised I'd not saved the weapon to the character.

So @ubongudofot has lost his axe and my axe has been replaced with a Frying Pan. I seem to be making a lot of mistakes!

It's all good fun though. Hopefully, tomorrow, the characters will finally be able to venture out into the corridor...

Would you like to join the testing? It's very buggy but hopefully you'll find the story quite entertaining.

Of course I would join ... if it's not too much effort for you to supervise the games.
But today I have to place my word in Scrabble before I go to bed :-)

the characters will finally be able to venture out into the corridor...

Freedom for the residents... ;-)

my axe has been replaced with a Frying Pan

Even a frying pan can become a weapon...

If you reply {Play} to this post, then it'll be helpful to have another person testing. I'm finding bugs and problems that didn't happen when it was just me playing 🙂

Hopefully your game won't get broken 😢

A frying pan is better than nothing but it's the worst weapon that you can get. Hopefully I'll find a better one soon 😉

I did it here. I think I have confused the game, haven't I?