exercism / javascript

Exercism exercises in JavaScript.
https://exercism.org/tracks/javascript
MIT License
568 stars 614 forks source link

wrong solution to testcase #2472

Closed keerthinannepamula1 closed 4 months ago

keerthinannepamula1 commented 4 months ago

new-issue1

The solution to the test-17: the canFreePrisoner method returns true when everyone is sleeping and the pet dog is present is supposed to false. My logic: how can Annalyn save the prisoner when prisoner is sleeping and also its given clearly in the instructions that the prisoner cannot be asleep? please correct me if I'm wrong.

github-actions[bot] commented 4 months ago

Hello. Thanks for opening an issue on Exercism 🙂

At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.

This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!

If you're interested in learning more about this auto-responder, please read this blog post.

SleeplessByte commented 4 months ago

If I interpret the instructions I read: If the dog is there, the knight won't do anything. As long as the archer is asleep, Annalyn can safely wake the prisoner. If the dog isn't there, the prisoner needs to be ready from the get-go, or there won't be enough time.