menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

WarriorJS

An exciting game of programming and Artificial Intelligence

Channels
Team
Posts
Members
Info

I can't login in the site [SOLVED]

I'm trying to access the site to play, and it's show online a blank page to me. I try other browser, but don't do login.

message-simple
5

How to detect from where I am taking damage ? baby steps lvl 9

Hello ! I am on the baby steps lvl 9 and I can detect is I am taking damage but I don't figure how to dectect from which side I am attacked ? …

message-simple
0

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..."

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.

message-simple
0

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

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: …

message-simple
2

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

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…

message-simple
1

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

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…

message-simple
6