Fantastic Bits - Puzzle Discussion


#1

:zap::trophy: Feel free to send your feedback or ask some help here! :trophy: :zap:


#4

Hi !
How can we make our wizards speak ?
Thx :slight_smile:


#5

Add your message after your command like :

"MOVE X Y SPEED MESSAGE"


#6

Thx a lot !!


#7

Hello !
During the challenge I am pretty sure that we had access to the referee.
I can't find it anymore, is it normal?


#8

We didn't have access to the referee during the contest.


#9

I'm losing a lot of battles somehow when my opponent has a thrust of "NaN". Why am I the one losing? I've checked my code several times to make sure the "NaN" couldn't be coming from me and even sent it to the IDE and it is definitely my opponent.


#10

This might seem a little silly, stupid even, but every single time I try to call the state if one of my wizards, its always zero, regardless of whether I have the ball or not. Because of that, my wizards never throw, they only grab. Is there something I'm doing wrong? Or another question: Is the timing of me recalling state unlucky?


#11

difficult to say without debugging the code.

Try to print in the standard error the wizards as they are given to you in the input and then when you've completely "built" them.


#12

Actually, I was able to find out what was wrong. I just hadn't defined the variable within the loop! Silly, huh?