+ 11
Murder Case 2 [Game]
Let's solve the next murder case! It's free to run! ;) https://code.sololearn.com/WFV87D6RV2Rr/?ref=app
9 odpowiedzi
+ 18
Solved it! Good One!
Suggestion : Make an array of names. Choose names of characters (boss, waiter etc,.) in random from that array everytime. Then, if anyone posts "xxx is the murderer" in comments, it wouldn't be valid for others.
+ 14
Solved here too! ^^
Game is fun but now focus yourself on the optimization, code must be improved, you can use a function rather than repeat the code multiple times, just to make an example:
function hide()
{
el.style.display = "none";
}
... and call it like this:
hide(document.getElementById("el"));
... and so on, keep it up! ^^
+ 7
nice story 😁 . ( Mr.fox➡👺).
bring the third case 😊 will be waiting for it 😎
+ 3
Good one!
Eagerly awaiting my next case assignment!
👮👮👮
The suggestion I wanted to make, Krishna already made it.
Look forward to more challenging codes from you! 👍👍👍
+ 2
Thanks!!! I am inexperienced. Just a month into HTML. I can improve with guidance of experienced people like you.
+ 2
Thank you Maz for such a good advice. Now my code looks a lot cleaner than before.
+ 1
Well done!
+ 1
I didn't play it through multiple times, just the one (I solved the case ;) ) . However, I did have a suggestion on game play. I think it would be cool if options were only available if you found out certain pieces of information first. Like, you couldn't talk to Mr. Fox if you hadn't first read the appointment book. And at the same time you might not be able to do both actions, like go to his house and talk to the girl friend. One eliminates the other option. That sort of thing. It can make things more twisty in the code, but gives it more of a detective feel.
0
@Jim Tully: I am working on 3rd case. I loved your suggestion. I am working according to your suggestion.
@Krishna Teja Yeluripati: I have tried your idea in third Game. I request you to check it out when it's made public.