Hacker Newsnew | past | comments | ask | show | jobs | submit | olistic's commentslogin

I found this to be an issue with Node 10, did you happen to be running that version? It was already fixed and a new version will be released soon (meanwhile you should be able to play with Node 8).


Yep, I'm running Node v10.1.0

I worked around it by just copying the class as described in the website.


Hello DDR0. You're right, you're not a deity, you're a person. Same as people on the other side of the project, who can't just write a perfect game the first time around.

If you're interested in proposing a solution for the issue you describe, there's already people discussing it here: https://github.com/olistic/warriorjs/issues/69


Hello, I'm sorry you feel that way. I think that being able to determine what enemies your warrior is facing is something valuable. However, it's possible to succeed in epic mode (and get a perfect score) without hard-coding any instruction.


Interesting idea that I'll definitely keep in mind for the online version. Thanks!


Thanks, and good you ask. The online version is in the works, going to be available soon at warriorjs.com. Follow @warrior_js on Twitter to be notified about the release.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: