News for hackers. Stuff that matters.
Re:Warriorjs – An exciting game of programming and artificia... by DDR0 on Friday May 11, 2018 @05:04PM (#17050796)
`console.log()` does nothing. `debugger` does nothing. How am I supposed to figure out why 'this.isTakingDamage' function isn't working? Just look at it real hard?

I'm not some sort of deity who can just write perfect javascript the first time around.

On a side note, running with `entr -p warriorjs --time 0.4 <<< Player.js` is quite convenient. (Run the warrior through the level on save of file.)

Re:Warriorjs – An exciting game of programming and artificia... by olistic on Friday May 11, 2018 @06:09PM (#17051090)
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