koishijs / wordle

Play wordle in Koishi
https://wordle-koishi.vercel.app
GNU Affero General Public License v3.0
4 stars 1 forks source link

Bug: wordle didn't signal failure after 6 guesses #29

Closed MaikoTan closed 1 year ago

MaikoTan commented 1 year ago

From #26 , I turns out that wordle should signal a failure after 6 guesses, but it didn't currently.

Looks like the code here is evaluated the former part first causing the error:

https://github.com/koishijs/wordle/blob/1f1ecc6d95ac4ca9cf88c59aef8240f2971e7073/packages/core/src/index.ts#L202

TTsdzb commented 9 months ago

The fix of this issue haven't published yet (last publish on npm on 2023.10.29). Please publish a new version, since the plugin is not working as it's intended.