menu

WarriorJS

An exciting game of programming and Artificial Intelligence

Channels
# All channels
view-forward
# General
view-forward
# Help
view-forward
# Ideas
view-forward
# Show and tell
view-forward
# Tips & tricks
view-forward
# Tutorials
view-forward
Team
Posts
Members
Info

Can't log in with my email (and impossible to Reset Password)

Hey everyone ! I'm sure i have an account with my email (i've played for some times ^^) but i can't login in. And when i try the "Reset Password" with my email, i've got the message "Oops! Something went wrong..."

thumbsup
0
message-simple
2

Clearing the output section on warriorjs.com

Is there a way to clear the output window(besides reloading the page) on the warriorjs website? I couldn't find anything in the documentation.

thumbsup
0
message-simple
0

Hi everyone! I can't log in with my email, has someone the same problem ?

thumbsup
0
message-simple
0

I'm confused,where do I set this.health on lesson four??

No matter where I put warrior.think("blah blah blah: " + warrior.health()); in my code it comes out with the same value! This is my code: And this is the output, all the warrior.think() outputs are the same: …

thumbsup
0
message-simple
2

Apologies if this was answered elsewhere but I haven't found the answer: if I…

thumbsup
0
message-simple
1

Level 4 and how health is set

In level 4, it recommends setting the this.health property to warrior.health(), but it doesn't seem like that value updates after a warrior.rest() call when still in the same turn. From what I figure, action calls only happen after the playTurn method returns. Because of this, I…

thumbsup
0
message-simple
1

Hey, is there a public API for getting the leaderboard data, and game…

thumbsup
0
message-simple
10

Help!!! Web version goes blank

Hi! I've been playing this from my browser (Firefox) during my off times and is great. I've managed to complete all initial 9 levels, and even the Epic mode. However, given that I ended up pretty low on the leaderboard (I know that my code was far from good) I started…

thumbsup
1
message-simple
6

Is there a way we can compare our code with others?

I'm getting by, but man I think my code is messy! Can I compare it to how others are achieving this? Can I get tips and pointers?

thumbsup
0
message-simple
2

Error in Level 8

``` class Player { playTurn(warrior) { …

thumbsup
0
message-simple
1